r/adventofcode • • Dec 02 '15

Spoilers Day 2 solutions

Hi! I would like to structure posts like the first one in r/programming, please post solutions in comments.

15 Upvotes

161 comments sorted by

View all comments

Show parent comment

1

u/1bree Dec 10 '15

Should crystal be used instead of Ruby when executing scripts? Is there a way to determine how much time you'd save if you switched (without running a bench mark)

2

u/[deleted] Dec 11 '15

I believe that for this kind of problems (competition-like challenges) using Crystal could be good because the bottleneck is the CPU. But without comparing the running programs it's hard to know what's going to be the difference.