aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/memory.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-08-07 05:06:47 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-08-07 18:52:23 +0800
commitac697326a6045eaa760b159e4bda37c57be61cbf (patch)
tree9f26ac6308b7ae0b9d0a6daab772aae796ee7a54 /core/vm/memory.go
parent184e9ae9a81df2db6381e18d3daa035d913ae341 (diff)
downloaddexon-ac697326a6045eaa760b159e4bda37c57be61cbf.tar.gz
dexon-ac697326a6045eaa760b159e4bda37c57be61cbf.tar.zst
dexon-ac697326a6045eaa760b159e4bda37c57be61cbf.zip
core/vm: reduced big int allocations
Reduced big int allocation by making stack items modifiable. Instead of adding items such as `common.Big0` to the stack, `new(big.Int)` is added instead. One must expect that any item that is added to the stack might change.
Diffstat (limited to 'core/vm/memory.go')
0 files changed, 0 insertions, 0 deletions