2 ms·
I asked the compiled to align what it can on 16 bytes and updated the results. Unsure why the previous result was way off, but I am lacking time for fun tonigh
by quickben 8y ago
I asked the compiled to align what it can on 16 bytes and updated the results.
Unsure why the previous result was way off, but I am lacking time for fun tonight :)
- vardump 8y agoYou have a vector of 64 char strings, while others have just 200 MB byte array. IOW, your code is not doing remotely same task as the blog post ones. Edit: "Typoed" 1 GB instead of 200 MB. Oops. The point holds.
- danbruc 8y agoI meant something different, your implementation is unable to find the pattern if it does not start at an index divisible by 64. You are effectively only searching through 3,125 MiB instead of 200 MiB.