Post #1414460
2025-10-30 18:10 UTC
@vrutberg as always it depends on the situation. If the relevant code runs once per byte of a file it might be several times faster, if it runs once per draw of a view it will be completely unnoticeable.
I ran across it in some code in xcbuild that’s processing a giant pile of paths.
(…then I ended up deleting the CollectionOfOne approach too and just doing integer comparisons on the utf8 bytes)
Replies (0)
No replies.