Show HN: Single header branchless ASCII folding filter
https://github.com/MKCG/asciifolding/blob/main/asciifolding.h
Hello,as I was looking at Lucene core, I was amazed that the ASCII Folding filter was implemented as a huge switch/case statement which is then compiled as a big lookup table and a lot of branches.Since this single filter is critical for many companies using Solr, Elasticsearch or Tantivy, I wanted to explore other ways to implement it.I have not yet benchmark the branchless implementation, I...