I wish the blog showed some code so we could learn what optimizations the AI did. At some point there is also a tradeoff between speed/memory and proper code abstractions.
As to tradeoffs, IMO it depends on your goals. It seems like the goal here was performance at any cost, so potentially inscrutable code is probably acceptable to the author.
Surprised he didn't use https://github.com/gungraun/gungraun to easily see the instruction count.
I wish the blog showed some code so we could learn what optimizations the AI did. At some point there is also a tradeoff between speed/memory and proper code abstractions.
It did, near the end. byteseek [0].
As to tradeoffs, IMO it depends on your goals. It seems like the goal here was performance at any cost, so potentially inscrutable code is probably acceptable to the author.
0: https://github.com/minimaxir/byteseek