mardi 4 janvier 2022

Why is std::regex notoriously much slower than other regular expression libraries?

This Github repository added std::regex to the list of regular expression engines and got decimated by the others.

Why is that std::regex - as implemented in libstdc++ - so much slower than others? Is that because of the C++ standard requirements or it is just that that particular implementation is not very well optimized?

enter image description here

Aucun commentaire:

Enregistrer un commentaire