我有一个庞大的函数列表,我需要将它们存储到一个类型化的数组中。
列出了10百万功能:
var size = 10000000 * 4;
var buffer = new ArrayBuffer( size);
var int32View = new Int32Array(buffer);
//How to store a function address in the list?
int32View[0]= addressof(myfunc);
//How to retrieve a function from the list?
myfunc = int32View[0] as function;
由于