src: don't lazy-load timer globals
authorBen Noordhuis <info@bnoordhuis.nl>
Thu, 26 Mar 2015 22:56:26 +0000 (23:56 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Thu, 26 Mar 2015 23:07:06 +0000 (00:07 +0100)
commit2903410aa8393a73dfbc75c5a9ba31c21ccb70dc
tree25695c1d68104bdf7c3376978951c014fd2e9146
parent5e609e93241f4a8d8f8e3100074240c878434ce1
src: don't lazy-load timer globals

Don't lazy-load setInterval(), setTimeout(), etc.  Most applications are
going to need them and routing every call through NativeModule.require()
and Function#apply() is not exactly efficient.

PR-URL: https://github.com/iojs/io.js/pull/1280
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
src/node.js