Ancestors

Toot

Written by Dr Lee A. Christie on 2024-12-08 at 21:16

My #AdventOfCode Day 8 was my quickest runtime so far.

=> View attached media

=> More informations about this toot | More toots from 0x1ac@techhub.social

Descendants

Written by Sebastian Lauwers on 2024-12-08 at 21:52

@0x1ac Very nice! Day 1 and day 8 are very close for me! You’re making me think I need to revisit day 4!

=> View attached media

=> More informations about this toot | More toots from teotwaki@mastodon.online

Written by Dr Lee A. Christie on 2024-12-08 at 22:13

@teotwaki Good times there. I see you time both parts separately. I always time them in total because I often find it useful to modify my Part 1 solution to track some additional bookkeeping that's useful for Part 2. So I can't split out what time is spend on only one part. So I time everything including reading the input and all the implementation of 1 & 2.

=> More informations about this toot | More toots from 0x1ac@techhub.social

Written by Sebastian Lauwers on 2024-12-08 at 23:11

@0x1ac Yeah, I used to do that as well. For this year’s “harness” I decided to split the two, and count the IO/parsing as part of the timing.

So both parts parse from scratch, without re-using data. This makes me re-use functions instead of re-using data.

I do have some notes written down about maybe allowing step1 to hand over data to step2 somehow. I just want something practical when writing the code, and this is.

=> More informations about this toot | More toots from teotwaki@mastodon.online

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113619276929135727
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
269.121668 milliseconds
Gemini-to-HTML Time
0.937523 milliseconds

This content has been proxied by September (3851b).