aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/sqlvm/sqlvm.go
diff options
context:
space:
mode:
authorTing-Wei Lan <tingwei.lan@cobinhood.com>2019-03-11 12:18:57 +0800
committerJhih-Ming Huang <jm.huang@cobinhood.com>2019-04-11 10:39:59 +0800
commitb4c31c4c714c557d6ecbf8004ffff44c5853b8cc (patch)
tree29445b36dcf04350256cfc490690e50039cf5b64 /core/vm/sqlvm/sqlvm.go
parent4fcdc62f4d202a5b599b999ec7dd9022d9d93eaa (diff)
downloaddexon-b4c31c4c714c557d6ecbf8004ffff44c5853b8cc.tar
dexon-b4c31c4c714c557d6ecbf8004ffff44c5853b8cc.tar.gz
dexon-b4c31c4c714c557d6ecbf8004ffff44c5853b8cc.tar.bz2
dexon-b4c31c4c714c557d6ecbf8004ffff44c5853b8cc.tar.lz
dexon-b4c31c4c714c557d6ecbf8004ffff44c5853b8cc.tar.xz
dexon-b4c31c4c714c557d6ecbf8004ffff44c5853b8cc.tar.zst
dexon-b4c31c4c714c557d6ecbf8004ffff44c5853b8cc.zip
core: vm: sqlvm: schema: drop pointers from slices
The number of tables, columns, indices are all limited to 256, so we don't have to do much memory copying during appending. Drop pointers from slices to save memory for storing pointers and possibly improve locality.
Diffstat (limited to 'core/vm/sqlvm/sqlvm.go')
0 files changed, 0 insertions, 0 deletions