WriteDecimal/WriteDecimalU heap-allocated a 22-byte digit scratch on every call, the IntToStr family allocated a second per-call scratch on top, and _StringFormatN allocated and freed a buffer per %d argument in both of its passes — four allocator round-trips per formatted integer on one of the hottest runtime paths (every emitted temp name goes through IntToStr). All nine sites now use fixed stack arrays; one shared scratch serves both _StringFormatN passes. Compiler self-compile: 8.73G -> 8.65G instructions. |
||
|---|---|---|
| .. | ||
| src | ||
| Makefile | ||
| project.xml | ||