diff options
author | Jason Carey <jcarey@argv.me> | 2015-10-06 20:08:03 -0400 |
---|---|---|
committer | Jason Carey <jcarey@argv.me> | 2015-10-06 20:14:01 -0400 |
commit | 95060c27ed2dddcb6343a88f7aa405ed8a935ad7 (patch) | |
tree | ea6d2287cbdb7154d22af6335ae1f56ac7b6aba0 /src/mongo/scripting/SConscript | |
parent | b7104c6f2f597335c6b9890ff6b80243625a6258 (diff) | |
download | mongo-95060c27ed2dddcb6343a88f7aa405ed8a935ad7.tar.gz |
SERVER-19977 Intern JS Strings
Rather than supplying const char*'s throughout our use of the MozJS api,
intern the strings and root their associated ids (to save on string
parsing).
Diffstat (limited to 'src/mongo/scripting/SConscript')
-rw-r--r-- | src/mongo/scripting/SConscript | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/scripting/SConscript b/src/mongo/scripting/SConscript index 24bc437dec6..4f92296f1c7 100644 --- a/src/mongo/scripting/SConscript +++ b/src/mongo/scripting/SConscript @@ -121,6 +121,7 @@ if usemozjs: 'mozjs/global.cpp', 'mozjs/idwrapper.cpp', 'mozjs/implscope.cpp', + 'mozjs/internedstring.cpp', 'mozjs/jscustomallocator.cpp', 'mozjs/jsstringwrapper.cpp', 'mozjs/jsthread.cpp', |