发布网友
共2个回答
热心网友
https://github.com/v8/v8/blob/master/src/interpreter/bytecode-array-writer.cc
这个是他的创建表的的接口
BytecodeJumpTable(size_t constant_pool_index, int size, int case_value_base,
Zone* zone)
以上是谷歌V8的代码
看了下实际上应该还是链表为主的数据结构
热心网友
var a = [];
a.push();