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

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -