Hacker News new | ask | show | jobs
by dkersten 1088 days ago
From what I’ve heard, std::regex is notoriously inefficient (lots of memory allocations, no allocator support). But I’ve never used it myself.
1 comments

oh yeah C++ regex is stupidly inefficient, like "python is faster" inefficient. I tried to use it for text replacements and pretty much immediately abandoned it
Apparently typical implementations of std::regex are inefficient like "'popen("perl..")' is faster" is inefficient!

I thing boost::regex is significantly faster although not particularly fast