Easton Man's Channel
06:42 · Apr 14, 2025 · Mon
Daniel Lemire's blog
Detect control characters, quotes and backslashes efficiently using ‘SWAR’
Telegraph
|
source
Telegraph
Detect control characters, quotes and backslashes efficientl…
When trying to write fast functions operating over many bytes, we sometimes use ‘SWAR’. SWAR stands for SIMD Within A Register, and it is a technique to perform parallel computations on multiple data elements packed into a single word. It treats a register…
Home
Powered by
BroadcastChannel
&
Sepia