How hard is it to check for whitespace?
0 comments · java, performance
- Comments14
0 comments · java, performance
Story details from Lobsters ↗ · linked article on serce.me.
How hard is it to check for whitespace? was first seen by Trendoday on Oct 30, 2026. Since then it has appeared in 85 checks on 4 different days. It reached #2 on Lobsters · Hottest on Oct 31, 2026 UTC. It was last seen on Lobsters · Hottest on Nov 2, 12:51 UTC. The same link also trended on Hacker News, which raises its cross-platform score.
Best recorded rank on Lobsters · Hottest per UTC day.
Best rank per day (UTC).
| List | Best | Days | Checks | Last seen |
|---|---|---|---|---|
| Lobsters · Hottest | #2 · Badge | 4 | 85 | |
| YHacker News · Front page How hard is it to check for whitespace? | same link | |||
A few top-level comments from Lobsters, shortened. Read the full thread on Lobsters.
Perfect hashing is ready cute! The implementation is very small and simple even though it's very fast: it's just the proof that it does actually work which is complicated. :D
> What adds more complexity is that Unicode is not frozen in time, and is constantly evolving. And this affects the definition of whitespace. For example, Unicode 6.3 had reclassified MONGOLIAN VOWEL SEPARATOR (U+180E) from a space separator to a format character, removing its White_Space property. The Unicode…
> The magic 1682554634 number does look magical, and it's unclear to me how it was chosen (please do share if you know the answer). I think it’s usually just brute forced, right?
Archived daily, weekly and monthly lists that include this entry.
Not at the moment. Its last recorded appearance was on Nov 2, 12:51 UTC.
#2 on Oct 31, 2026 UTC.
It was first seen on Oct 30, 2026 and has been on the list on 4 days (85 checks) since.