cache functions

This commit is contained in:
Eliot Horowitz
2009-10-09 11:32:41 -04:00
parent 1119ad03f2
commit 445c662ffc
3 changed files with 30 additions and 3 deletions

View File

@@ -1136,7 +1136,7 @@ namespace mongo {
// ---- functions -----
ScriptingFunction createFunction( const char * code ){
ScriptingFunction _createFunction( const char * code ){
smlock;
precall();
return (ScriptingFunction)_convertor->compileFunction( code );