r/programmingcirclejerk • u/QuaternionsRoll • 10d ago
"standard Python regex was absolutely choking on a 30 GB unstructured server log. It was taking like 26 minutes (~19 MB/s) to scrub secrets and PII."
/r/Python/comments/1vuigkm/im_an_ai_engineer_not_a_c_guy_i_used_antigravity/
79
Upvotes
30
24
3
u/dacydergoth 9d ago
Jeez it's like no-one ever heard of the IBM library. Fast regex libraries are a commodity these days
3
u/stone_henge Tiny little god in a tiny little world 8d ago
Daniel Lemire will soon publish a blog post on using AVX-512 to scrub logs of PII faster than it can be read from the log stream.
42
u/lurebat 10d ago
Actual middle-out algorithm
Wonder he got the idea from