3 ms·
Why the downvote? The smaller the strings, the more strings you can allocate before triggering a garbage collection. Also, the smaller the objects, the less co
by Skinney 11y ago
Why the downvote?
The smaller the strings, the more strings you can allocate before triggering a garbage collection. Also, the smaller the objects, the less copying is needed when promoting survivors.
- aardvark179 11y agoAnd the more you can allocate in a thread local allocation buffer before your bump allocator has to request a new TLAB.