Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-50894

prefer pcrecpp to std::regex

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.8.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Service arch 2020-09-21
    • 0

      std::regex has extremely poor performance and cannot be improved due to ABI compatibility with its header-only implementation. It's also very bloated. Including its header brings in 20,000+ lines of C++. We're using pcrecpp for most regex work, and having a second implementation isn't necessary.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: