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

Remove #defines from platform/basic.h for __builtin_str* functions.

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.5
    • None
    • None
    • None
    • Fully Compatible

    Description

      These #defines cause our code to violate the one-definition rule, especially in the driver, but probably even in the server itself.

      Mathias confirms that with current compilers, our existing benchmarks no longer indicate a performance advantage.

      Attachments

        Activity

          People

            mathias@mongodb.com Mathias Stearn
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: