Re:Strings Are Evil
by asmosoinio on Wednesday June 20, 2018 @03:04PM
(#17358616)
I agree with the comments here - I don't think the final solution should go into production as it is so complex. And the optimisation for total allocations seems odd.
The V02 with VERY simple optimisation is only 2% slower than the final version - and infinitely more readable.
The V02 with VERY simple optimisation is only 2% slower than the final version - and infinitely more readable.
Nice article nevertheless.