Commit graph

26 commits

Author SHA1 Message Date
Juan José Gutiérrez de Quevedo Pérez ce00017d2d day 19, part 2 and part 1 optimized 2020-12-27 00:23:37 +01:00
Juan José Gutiérrez de Quevedo Pérez 0eb5656a9b day 25 2020-12-26 20:08:22 +01:00
Juan José Gutiérrez de Quevedo Pérez 99bf948419 add day 23
part 2 is heavily non optimized, will take about a day to run on really
modern hardware
2020-12-25 22:38:58 +01:00
Juan José Gutiérrez de Quevedo Pérez 230545f703 add day 24 2020-12-25 22:35:58 +01:00
Juan José Gutiérrez de Quevedo Pérez 9c24543479 fix typo 2020-12-22 23:49:11 +01:00
Juan José Gutiérrez de Quevedo Pérez 815d8ae5c2 day 22 second part 2020-12-22 23:45:31 +01:00
Juan José Gutiérrez de Quevedo Pérez 264496e0e1 day 22 part 1 2020-12-22 23:01:35 +01:00
Juan José Gutiérrez de Quevedo Pérez de03aad9d6 commit day 19, 20 and 21
19 and 20 are incomplete and nothing is optimized
2020-12-21 22:48:27 +01:00
Juan José Gutiérrez de Quevedo Pérez 8969db5c8c small simplification 2020-12-18 11:20:38 +01:00
Juan José Gutiérrez de Quevedo Pérez 06d29f3857 add day 18 2020-12-18 11:14:06 +01:00
Juan José Gutiérrez de Quevedo Pérez d0b8f3142e day 17, not optimizing this one 2020-12-17 10:06:02 +01:00
Juan José Gutiérrez de Quevedo Pérez 12af7dd9c4 slightly slower but easier to understand solution 2020-12-16 12:21:24 +01:00
Juan José Gutiérrez de Quevedo Pérez 6b59d3efa6 day 16 2020-12-16 10:13:49 +01:00
Juan José Gutiérrez de Quevedo Pérez 2c8a012400 add a C version of the 2 problem
I wanted to check how much faster a C version would be. As it turns out
it is *MUCH* faster, the python version takes ca. 12s, the C version
takes a few milliseconds.
2020-12-15 11:41:46 +01:00
Juan José Gutiérrez de Quevedo Pérez dd2497438d optimized versions of day 15
interesting discoveries:
  * using a list instead of a dict made a difference, but not a lot
  * declaring the code in a function instead of as "global code" made *A
    LOT* of difference. I guess it has to do with the variables being
    global in that case
2020-12-15 11:40:03 +01:00
Juan José Gutiérrez de Quevedo Pérez 041b87cd05 a bit simplified solution 2020-12-15 10:21:30 +01:00
Juan José Gutiérrez de Quevedo Pérez d96d701f34 add day 15 2020-12-15 10:04:21 +01:00
Juan José Gutiérrez de Quevedo Pérez aeb3db0bdc add a readme 2020-12-14 10:57:01 +01:00
Juan José Gutiérrez de Quevedo Pérez de871332e5 add day 14 2020-12-14 10:03:21 +01:00
Juan José Gutiérrez de Quevedo Pérez f623e74bbf fix function name 2020-12-13 22:08:57 +01:00
Juan José Gutiérrez de Quevedo Pérez 3983a072b0 add day 13 2020-12-13 22:06:40 +01:00
Juan José Gutiérrez de Quevedo Pérez 4802886c99 add 12th day 2020-12-13 00:19:52 +01:00
Juan José Gutiérrez de Quevedo Pérez a58e31c982 missing day 10 programs
2.py missing because it's very ugly and probably broken just now
2020-12-11 14:53:05 +01:00
Juan José Gutiérrez de Quevedo Pérez 9443543a77 a faster solution, ca 1:30 minut to 10 seconds 2020-12-11 14:52:29 +01:00
Juan José Gutiérrez de Quevedo Pérez 3ace709714 day 11 2020-12-11 14:40:29 +01:00
Juan José Gutiérrez de Quevedo Pérez f896e7c753 initial commit on day 9 2020-12-09 09:26:04 +01:00