Skip to content

Faster Insert(ansi/unicodestring).

Rika requested to merge runewalsh/source:insert into main

Speed up Insert by not using a temporary string, which especially benefits the common case of inserting into an unique string.

For me, InsertBenchmark.pas speeds up from 10 to 2.5 µs; still 250→100 ns on smaller string {"id":52,"animationId":190} with just 4 inserts.

Merge request reports