Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
dkersten
2y ago
0 comments
Share
From what I’ve heard, std::regex is notoriously inefficient (lots of memory allocations, no allocator support). But I’ve never used it myself.
0 comments
default
newest
oldest
TylerGlaiel
2y ago
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
gpderetta
2y ago
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
j
/
k
navigate · click thread line to collapse