4 ms·
Couldn't those functions just be inlined by the compiler if they're simple regex-wrappers anyway? I do agree that it might be overkill to move regexes to their
by entropy_ 14y ago
Couldn't those functions just be inlined by the compiler if they're simple regex-wrappers anyway?
I do agree that it might be overkill to move regexes to their own functions just for readability's sake but I don't buy the performance argument. Furthermore, regexes are most popular in scripting languages that no sane person would use for real time performance-critical systems anyway.
- laumars 14y ago1. Ahh right. I wasn't aware that happened. 2. Web sites are a classic example of scripting languages being used for real time performance critical systems (though I'm not arguing that all web sites are real time). Sometimes the ability to modify code easily is as important to the choice of languages as the raw execution speed of the compiled binaries.
- deleted 14y ago[deleted]