Commit graph

9 commits

Author SHA1 Message Date
Leonard Hecker
065fa748cf
Add specialized SIMD line seeking routines (#408)
The previous `memchr` loop had the fatal flaw that it would break out
of the SIMD routines every time it hit a newline. This resulted in a
throughput drop down to ~250MB/s on my system in the worst case.
By writing SIMD routines specific to newline seeking, we can bump
that up by >500x. Navigating through a 1GB of text now takes ~16ms
independent of the contents.
2025-06-05 12:34:07 -05:00
Leonard Hecker
f8bea2be19
Implement support for Ambiguous = Wide (#406)
Does what it says on the tin. It's just a lot in the can.

Closes #115
2025-06-04 23:39:56 +02:00
Josh Soref
02d0a5af9e
Fix various spelling errors (#206) 2025-05-22 21:59:10 +02:00
benja2998
60b806ef65
Fix multiple grammar mistakes (#174) 2025-05-21 12:53:27 -07:00
Thallium Megalovania
c8b7bc4213
remove simd::distance (#131)
Since `offset_from_unsigned` has been stabilized,
we can remove simd::distance now.

---------

Signed-off-by: Thallium Megalovania <ferris@thallimega.win>
Co-authored-by: Leonard Hecker <leonard@hecker.io>
2025-05-20 08:20:49 -07:00
Leonard Hecker
6122013b2d Address remaining review feedback 2025-05-17 20:50:47 +02:00
Leonard Hecker
d17cf66c7c Add copyright headers to all files 2025-05-17 20:50:47 +02:00
Leonard Hecker
293ea36c49 Document everything 2025-05-16 01:12:59 +02:00
Leonard Hecker
01a5a885ec Restructure the project 2025-05-16 00:48:46 +02:00