Reporting back, In @bun.sh, string.includes() is still 88x slower than string.indexOf(). From a computer science algorithm perspective, that result seems unintuitive.
10 months ago
0
0
0
0
Reporting back, In @bun.sh, string.includes() is still 88x slower than string.indexOf(). From a computer science algorithm perspective, that result seems unintuitive.
What happened JavaScriptCore? On Firefox and Chrome, string.includes() is about the same speed as string.indexOf(). But in Safari string.includes() is about 10,000x slower:
jsperf.app/sisabo
I need to test if @bun.sh is the same