When you once again try using Integers for part2: Sheldon Why meme
you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 11 months ago (2 children)

I use usize by default, but last year there was a challenge that significantly improved performance when I switched from usize to u8 (don't recall which one though).

  • source
  • hideshow 2 child comments
  • [–] 3 points 11 months ago

    I normally use the "most appropriate" size, but this year I'm just using usize everywhere and it's a lot more fun. So far I haven't found any problem where it ran too slow and the problem was in my implementation and not my algorithm choice.

  • source
  • parent