wasm-micro-runtime icon indicating copy to clipboard operation
wasm-micro-runtime copied to clipboard

aot_load_const_from_table is inefficient

Open yamt opened this issue 3 months ago • 0 comments

wamrc uses a clever trick to store constants in native symbol table. however, it's inefficient as it stores values as strings. it might be better to use a real data segment similarly to what we do for aot_stack_sizes these days. it might involve an aot abi breakage though.

yamt avatar May 08 '24 16:05 yamt