lemire/despacer
View on GitHub ↗ ★ 159 C
C library to remove white space from strings as fast as possible
8 mentions on Hacker News by 7 people: 1 story, 7 comments · first 2017-01-20 · latest 2026-05-13
20082026
-
▲ 1
despacer: C library to remove white space from strings as fast as possiblestory by tosh · 2026-05-13 · 0 comments
-
…list to int32 later. [0]: https://github.com/simdjson/simdjson/blob/master/src/generic... [1]: https://github.com/lemire/despacer/blob/master/src/despacer....
comment by anonymoushn · 2023-06-09 · in The Case of the Missing SIMD Code -
…_good_ to have? Probably none? These skills are basically unemployable as far as I can tell. [0]: https://github.com/lemire/despacer [1]: http://0x80.pl/articles/index.html [2]: https://twitter.com/AtTheHackOfDawn/status/13338951151741870..…
comment by anonymoushn · 2022-11-27 · in Cache invalidation really is one of the hardest problems in computer science -
Cool performance enhancement, with an accompanying implementation in a real-world library ( https://github.com/lemire/despacer ). Still, what does it signal that vector extensions are required to get better string performance on x86?…
comment by mdb31 · 2022-05-01 · in Removing characters from strings faster with AVX-512 -
…any bugs in the library when implementing your binding? Daniel Lemire has done brilliant work. His https://github.com/lemire/despacer looks great. I wonder though if their Base64 SIMD algorithms could be tweaked to do the decode in a…
comment by jorangreef · 2018-01-18 · in Fast base64 encoding and decoding -
…Appendix B on page 21). It seems that the recommended solution is to use this fast space remover: https://github.com/lemire/despacer
comment by thorel · 2018-01-18 · in Fast base64 encoding and decoding -
The optimization flags used should be good enough. https://github.com/lemire/despacer/blob/master/Makefile CFLAGS = -fPIC -std=c99 -O3 -march=native
comment by Too · 2017-01-21 · in How quickly can you remove spaces from a string? -
…but are you looking at the excerpts in his blog post, or the actual code that he links to? https://github.com/lemire/despacer/blob/master/include/despa...
comment by nkurz · 2017-01-20 · in How quickly can you remove spaces from a string?