Hacker GitHub

← All repos

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

Mentions per year 8 mentions · busiest year 2017 (2)
20082026
  1. ▲ 1
    despacer: C library to remove white space from strings as fast as possible
    story by tosh · 2026-05-13 · 0 comments
  2. …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
  3. …_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..…
  4. 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?…
  5. …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
  6. …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
  7. The optimization flags used should be good enough. https://github.com/lemire/despacer/blob/master/Makefile CFLAGS = -fPIC -std=c99 -O3 -march=native
  8. …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...