|
Plastic Jesus posted:The performance concern here is that your method appears to require misaligned loads from puc. I don't know the details for x86, but most hardware hates this. You may want to consider making only aligned loads to keep 64 bits of the buffer in memory, search for the sequence within those bits, and if not found slide the 'window' forward by 32 bits.
|
# ¿ Mar 16, 2008 05:36 |
|
|
# ¿ May 2, 2024 20:32 |