Chris Smith
4020a24704
Revert "Little performance enhancement for day 22"
THAT WAS NOT BETTER IT WAS MUCH MUCH WORSE
This reverts commit 528d631b73 .
5年前
Chris Smith
528d631b73
Little performance enhancement for day 22
5年前
Chris Smith
962f2c81fd
Adjust arbitrary numbers.
5年前
Chris Smith
a57d3500df
Day 22
5年前
Chris Smith
7f64cce7cf
Remove input debugging (again)
5年前
Chris Smith
edeba1b77f
Icky day 21.
Abstract elfcode handling into its own file.
5年前
Chris Smith
a1e4380c1c
Day 20.
Phew.
5年前
Chris Smith
5524c2fe60
Remove debugging from data...
5年前
Chris Smith
855569f7bb
Day 19
5年前
Chris Smith
1f17fb35d9
Day 15, finally.
5年前
Chris Smith
9318d45ddd
Day 18
5年前
Chris Smith
d415992930
Fix edge case
5年前
Chris Smith
724e0b9c46
Day 17
5年前
Chris Smith
c1820b60c5
Just use a sequence not an array
It's about 30% slower, but a lot nicer.
5年前
Chris Smith
877a6cca07
Tidy and optimise day 14 a little
5年前
Chris Smith
d46eb23779
Handle silly trailing new lines
5年前
Chris Smith
8fe21edd1b
Day 16
5年前
Chris Smith
f1e2824734
Minor optimisations
5年前
Chris Smith
c2a8a58817
Might as well use an array if we're pre-sizing it.
5年前
Chris Smith
b103c400c6
Slooowwww day 14
5年前
Chris Smith
9bee0203a0
Unused imports
5年前
Chris Smith
73e59cfc37
Day 13
5年前
Chris Smith
50a54c8a56
Unsatisfying day 12.
5年前
Chris Smith
d137fdb031
Minor day 11 optimisations
Calculate the power inline so we don't have to repeat the rack ID
etc every time; give in and use 1-based arrays instead of mapping
the 1-base back to 0-base.
5年前
Chris Smith
6ce0442f34
Optimise day 10
5年前
Chris Smith
46b2a06b3b
Day 11
5年前
Chris Smith
8e0bb8b3ab
Shave another 10ms off of day 9.
We don't need to store values as we can figure them out from
the memory location.
5年前
Chris Smith
4756cb9e28
Day 10.
Leaderboard position: 70 and 84
5年前
Chris Smith
3a4e408b81
Fix various mistakes with advancing the current pointer
Somehow this got the right answer for most cases.
5年前
Chris Smith
a9936edafc
More insanity in the name of performance.
5年前
Chris Smith
6e97ab6839
Further performance improvements
5年前
Chris Smith
89ccac1647
Use pointers and bare memory allocations. For speed.
5年前
Chris Smith
baf4de4200
Some attempts at day 9 performance improvements
5年前
Chris Smith
f7426d5690
Unused imports
5年前
Chris Smith
77a13266b1
Day 9
Leaderboard position: 124 & 365
5年前
Chris Smith
f61e2149bd
Alpine wasn't that fast...
time(1) just shows fewer decimal places than bash's time, and
I didn't notice!
5年前
Chris Smith
b76570b6c2
Run using bash, lazily compile
5年前
Chris Smith
3d1cfc5734
Remove python, use alpine. Holy speed, batman.
5年前
Chris Smith
8890f63c40
Performance improvement for day 6
5年前
Chris Smith
23507fa07d
Tidying
5年前
Chris Smith
5c5b892740
Use var not pointers
5年前
Chris Smith
faa0f08901
Tidy up day 8
Reverse the input so we can just pop entries off the end as we use
them, instead of tracking offsets horribly.
5年前
Chris Smith
22fc1d269a
Nim day 4
5年前
Chris Smith
5e82552252
Port day 3 to nim
5年前
Chris Smith
24197b6d4c
Add answer files.
5年前
Chris Smith
3f80651927
Style tweaks
5年前
Chris Smith
47bf49da5f
func!
5年前
Chris Smith
09ad330e31
Nim day 2
5年前
Chris Smith
a26c9ec929
Nim day 5
5年前
Chris Smith
3d268eefd7
Day 8
5年前