ldraw-nova: AI agents build LEGO models by writing Python geometry
In ldraw-nova, models write a plan and a Python generator instead of raw coordinates, but nothing checks physics or stability.
In llama.cpp prompt lookup drafting, reading maps by reference gave 4.5x to 25x, while a flat hash map added only up to 13%. Profile for copies first.

Swapping in a faster hash map is the classic C++ speedup. In llama.cpp's prompt lookup drafting, it barely moved the number.
Hayder Tirmazi published his tuning work on Saturday. Prompt lookup decoding drafts tokens from n-gram counts, so the draft model is nearly free. The code around it wasn't.
The biggest win was a 16-line diff: stop copying the inner maps on every draft step, read them by reference. Drafting got 4.5x to 25x faster.
The flat hash map that came next pulled in about 4,500 vendored lines for up to 13% faster drafting. His first sorted vector version ran slower than what it replaced, until he rewrote the binary search. Daniel Lemire's early threshold exit then took the total to 140x.
Before you replace a data structure:
The cheapest fix is often a missing ampersand.