> Rewriting it over and over again in the same manner and expecting improvement is not the kind of engineering I want to do.
let's step back a bit and see this from a single system perspective.
you are already doing it (optimizing a function, a hot code path, etc...) over and over again. albeit much slower than an agent can iterate.