Advent Of Code 2023 - Day 7 (Part II)

preview_player
Показать описание
May the Schwartz be with you!
Here, I discuss my favourite search optimization, the Schwartzian transformation. For one, it's one of those ideas that are so genius that they seem obvious in retrospect, and for two, it's fun to say "we need to calculate the schwartz". Here, it enabled us to reduce 16.000 unneeded method calls, so that's a win!

#adventofcode


Рекомендации по теме
Комментарии
Автор

Very nicely explained, backed with an example. Thanks Weko 😊

jovankostovski