Hacker GitHub

← All repos

sugawarayuuta/charcoal

View on GitHub ↗ ★ 84 Go

Faster utf8.Valid using multi-byte processing without SIMD.

3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2024-03-26 · latest 2024-07-29

Mentions per year 3 mentions · busiest year 2024 (3)
20082026
  1. …Here is a similar case on a false claim of a faster utf8.IsValid in Go, with benchmarks: https://github.com/sugawarayuuta/charcoal/pull/1
    comment by dolmen · 2024-07-29 · in tolower() with AVX-512
  2. A description of the algorithm is here [1] and it is indeed SWAR. [1] https://github.com/sugawarayuuta/charcoal/blob/main/docs/ind...