-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: JavaScript, Performance
-
None
-
Fully Compatible
-
Platforms 2016-09-19
SERVER-14592 precipitated this. In the code review, it was originally schwerin's recommendation to do this:
https://mongo-cr-archive.appspot.com/5151155143311360
Free function "escape()" in bsonelement.h should be moved to a better place and changed to take a StringData for efficiency, since its callers frequently provide it with string literals or other StringData variables.