3 ms·
From what I’ve heard, std::regex is notoriously inefficient (lots of memory allocations, no allocator support). But I’ve never used it myself.
by dkersten 3y 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.
- TylerGlaiel 3y agooh 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
- gpderetta 3y agoApparently 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