> Thanks, that makes sense.  So basically node-mysql is leaving some 
> obvious optimizations on the table? 
>
yes
 
 

> By the way, I noticed that you're using vm.runInNewContext().  Is 
> there a reason for that?  You could probably reduce memory usage a 
> little by running the generated code in the same context. 
>
Thanks, Ben, I replaced it with vm.runInThisContext(). Basically I want to 
generate function as soon as I have type data. `new Function(str)` was 
slower than vm.runInNewContext(str) for some reason (need to double check 
that).

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to