|
|
|
|
|
by brink
26 days ago
|
|
Or maybe you stopped being able to tell? In my very recent experience, it's good for routine things, but it consistently chooses the wrong sync primitives and dynamic abstractions for performance / extensibility. It puts everything in a Mutex/RWLock, which is terrible for write-heavy / contested values, and it prefers enums over traits, which is not extensible and can get inefficient. But we're rapidly heading into a world where people no longer understand the difference, and therefore everything looks fine to them. |
|
If possible capturing golden inputs/outputs for a block of code, and just asking the agent to optimize while ensuring those goldens pass can be quite effective.
There's a lot of performance-sensitive code where I work (i.e. market data processing) and LLMs have been very effective at reducing our p50, p99, etc...