Faster Insert(ansi/unicodestring).
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.