node.js - Storing reference of a function in typed array -
i have huge list of functions , need store them typed array.
list 10 millions function :
var size = 10000000 * 4; var buffer = new arraybuffer( size); var int32view = new int32array(buffer); //how store function address in list? int32view[0]= addressof(myfunc); //how retrieve function list? myfunc = int32view[0] function;
thanks
Comments
Post a Comment