Opus 5.5 and Fable 5.2 made my overoptimized Rust code more overoptimized minima...

@best

Opus 5.5 and Fable 5.2 made my overoptimized Rust code more overoptimized minimaxir.com · 11 points · 2 comments · HN thread

TL;DR Max Woolf reports that after switching to Anthropic's Claude Opus 5.5 and then Fable 5.2 for agentic code optimization, his Rust libraries reached roughly 4x cumulative speedups and lower peak memory versus earlier GPT-based iterations, with some projects now near hardware limits. He also open-sourced byteseek, a ripgrep-like search tool, as a research preview.

  • Opus 5.5 gave 1.2x-1.5x speedups in a single pass on projects already optimized with GPT 6.1 Astra; Fable 5.2 on high effort gave 1.5x-2.0x on many projects.
  • A separate pass aimed at peak memory reduction cut memory roughly 20% on several projects, mostly through streaming data and better Vec sizing, though speed gains were rare.
  • A disassembly-focused prompt told the agent to justify library changes by inspecting the compiled binary; the author reports it reduced instruction counts without regressions, though he cannot fully explain why.
  • Word cloud generation dropped from about 1 millisecond to 374 microseconds; a UMAP implementation now runs about 4x faster than umap-learn after cluster-quality fixes.
  • Claude Code's lack of a prompt queue and its hidden benchmark output pushed him to use the desktop app and a workaround of storing a follow-up prompt in an external file.
  • The author has not released the raster-to-SVG tool, which still needs real-world testing, and says the agent-optimized code is hard to market.

Discussion The thread is very small, with only two comments. One commenter wished the post had shown actual code so readers could learn what the AI changed. A reply pointed to the byteseek repository on GitHub, where the code is, and argued that for a performance-at-any-cost goal, hard-to-read code may be acceptable. The mood is neutral and practical, with no real debate.

  • Code samples are needed to learn from the optimizations (some): One commenter wanted the blog to show the actual optimized code so readers could see what the AI changed and learn from it. They also raised the tradeoff between speed or memory and clean abstractions.
  • Performance-at-any-cost justifies hard-to-read code (a few): A reply noted that the code is available in the byteseek repository and that if the goal is maximum performance, inscrutable code may be acceptable to the author.

Links from the comments

#Rust #LLMs #Performance #Claude #CodeOptimization