Hacker GitHub

← All repos

btwael/SuperString

View on GitHub ↗ ★ 299 C++

A fast and memory-optimized string library for C++

5 mentions on Hacker News by 4 people: 1 story, 4 comments · first 2018-04-11 · latest 2018-04-12

Mentions per year 5 mentions · busiest year 2018 (5)
20082026
  1. Actually, the UTF-8 decoding is broken even with proper input . This https://github.com/btwael/SuperString/blob/master/src/SuperS... will make `pointer` and `i` be out of sync, so everything after the first multibyte sequence is a coin…
  2. …case I guess. :) +// in case NULL is not defined +#ifndef NULL +#define NULL (0L) +#endif // NULL https://github.com/btwael/SuperString/commit/515f6896ee6a3e2...
  3. …that all are advertising his non-production ready projects) certainly gives a similar vibe. :) [0] https://github.com/btwael/SuperString/commits/master
  4. Probably because his benchmark is broken. It always copies to the end of the file. https://github.com/btwael/SuperString/blob/master/test/withS... this line should be ` lines.push_back(string.substr(last, i - last));` (it also drops the…