← Back to context

Comment by afandian

11 years ago

Is that a standard immutable string? Does this mean allocating a whole new string every time a character edit is made?

Yes, thanks god for the garbage collector. Although this is JavaScript so I see it as a mutable string.

Surely not one allocation per key, that could be up to like 10 allocations per second.