[SERVER-11978] Remove #defines from platform/basic.h for __builtin_str* functions. Created: 05/Dec/13  Updated: 11/Jul/16  Resolved: 11/Dec/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.5.5

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 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.



 Comments   
Comment by Githook User [ 11/Dec/13 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-11978 Stop defining __builin_functions to bare functions

It no longer shows performance benefit on current compiler.
Branch: master
https://github.com/mongodb/mongo/commit/10270c7b5cf81f63cdf5720b70f517ab2a725d63

Generated at Thu Feb 08 03:27:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.