Re:Show HN: Work for Performance – Open performance issues o...
by franciscop on Wednesday October 06, 2021 @08:24PM
(#28780201)
All of the "performance improvements" I've seen (only few TBF) were either not real improvements at all (think of, "I read once that in JS inverting the for() order is faster", without any benchmark) or true but very marginal improvements while making the code impossible to maintain (think a blob of 10 lines of bit shifting/impossible regexp).
A lot of the times, especially if the library is small, I find it more useful to just rewrite the whole thing. Or forking it with the performance patches and submit a PR, trying to convince people to make something faster with an issue doesn't work very well in my experience.