Relentlessly optimizing code with AI
spectralcore.comOne thing I’m curious about is where the real bottleneck ended up: generating optimization candidates or validating that they were actually improvements.
Validation is trivial, I simply used BenchmarkDotNet test and had AI flip git between latest HEAD state and current state.
Optimization is where the real work was - but also fun because I would just think of something, and AI would make it happen. It also had great ideas of its own. Feedback mechanism is crucial.