LOADING: An error occurred. Update Chrome, try Firefox, or visit this post for more details.

⚠️Reddit changed how removals work, which breaks Reveddit's website. Install the extension to track removed content:Add to chromeAdd to firefoxWhat changed?
✖︎
about reveddit
⚙F.A.Q.add-ons
r/
status
copy sharelink
[+] show filters
19
SOLUTION MEGATHREAD-❄️- 2024 Day 22 Solutions -❄️-(self.adventofcode)
submitted 1 year, 1 month ago* (edited 12 minutes after) by daggerdragon to /r/adventofcode (134.8k)
451 commentsredditother-discussionssubreddit-indexmessage modsop-focus

THE USUAL REMINDERS

  • All of our rules, FAQs, resources, etc. are in our [community wiki](https:...

... view full text

since 1 year, 1 month ago
10 of 10

Tip Reveddit Real-Time can notify you when your content is removed.

your account history
(check your username's removed content. why?)
Tip Check if your account has any removed comments.
view my removed comments
you are viewing a single comment's thread.
view all comments
[–][deleted]3 points1 year, 1 month ago
[removed] mod/auto

[removed]

(check your username's removed content. why?)
Restore
(1 users left)
Restore AllHide Unarchived
permalinkhide replies (1)as-ofmessage mods
[–]bdaene1 point1 year, 1 month ago

On my computer your code reports 848ms/5.1s. What do you have as computer to go down to 1.7s?

Seems fishy to me. My code is usually rather performant and I could only reach 3.7s using base 20 encoding of the changes. And I do not see many Python code under 4s for part 2in this thread.

permalinkparentcontexthide replies (1)author-focusas-ofpreserve
[–][deleted]1 point1 year, 1 month ago
[removed] mod/auto

[removed]

(check your username's removed content. why?)
Restore
(1 users left)
Restore AllHide Unarchived
permalinkparentcontexthide replies (1)as-ofmessage mods
[–]bdaene1 point1 year, 1 month ago

Here it is : GitHub

I optimized it further and got 1.4s but we are talking inlining of function ;)

My computer is an i5-12600KF@3.70 GHz

permalinkparentcontexthide replies (2)author-focusas-ofpreserve
[–][deleted]1 point1 year, 1 month ago
[removed] mod/auto

[removed]

(check your username's removed content. why?)
Restore
(1 users left)
Restore AllHide Unarchived
permalinkparentcontexthide replies (1)as-ofmessage mods
[–]bdaene1 point1 year, 1 month ago

I have 4 635 125 patterns to add in the results.

permalinkparentcontexthide replies (1)author-focusas-ofpreserve
[–][deleted]1 point1 year, 1 month ago
[removed] mod/auto

[removed]

(check your username's removed content. why?)
Restore
(1 users left)
Restore AllHide Unarchived
permalinkparentcontexthide replies (1)as-ofmessage mods
[–]bdaene1 point1 year, 1 month ago

Many of them are the same. I end with a bit less of 50 000 patterns. But you have to generate them all. 2406x1997 in my input.  And after removing those already seen in the current seed. I still have to tally those 4.6millions prices in their pattern. 

permalinkparentcontextauthor-focusas-ofpreserve
[–][deleted]1 point1 year, 1 month ago
[removed] mod/auto

[removed]

(check your username's removed content. why?)
Restore
(1 users left)
Restore AllHide Unarchived
permalinkparentcontexthide replies (1)as-ofmessage mods
[–]bdaene1 point1 year, 1 month ago

Apparently, thanks for the profiling 😉

permalinkparentcontextauthor-focusas-ofpreserve
r/revedditremoved.substack.com
🚨 NEWS 🚨
✖︎

Important: Reddit Changed How Removals Work

A recent Reddit update makes mod-removed content disappear from profile pages, which breaks Reveddit's website.

Install the browser extension to receive removal alerts.

Add to chromeAdd to firefox

What changed?

r/revedditremoved.substack.com