Viewing profile — jxndnxu
jxndnxu
HN member- Joined
- Thu, Jun 20, 2024, 7:30 PM UTC
- HN karma
- 3
- Public activity
- 4 items
- HN profile
- View on Hacker News ↗
About jxndnxu
No profile information was provided.
Recent public activity
-
comment
Comment #40742509
How would if have helped? You either design a DFA by hand or use a compiled from a regular language
-
comment
Comment #40742477
You have answered your question yourself: your algorithm looks at each byte twice, not once It's even more obvious in the UTF case where the classic implementation first looks at 1…
-
comment
Comment #40742436
My understanding of the article's use of scalable was "fixed overhead more or less regardless of the complexity of the state machine and input" not "fastest implementation availabl…
-
comment
Comment #40742399
Because classic wc is not iterating over every byte once, but multiple times. It's especially obvious in the Unicode case where it first takes 1-4 bytes to get a Unicode character …