diff options
author | Ting-Wei Lan <tingwei.lan@cobinhood.com> | 2019-02-21 16:51:13 +0800 |
---|---|---|
committer | Jhih-Ming Huang <jm.huang@cobinhood.com> | 2019-03-26 17:48:22 +0800 |
commit | f67cbd1c9f3ddf44d5818227e1f636c1a0085074 (patch) | |
tree | 390f086db3fd144f69d64940ff2307d04da2a60f /cmd/swarm | |
parent | 818114135b58fc258191bf94ae05829bba71a7bc (diff) | |
download | dexon-f67cbd1c9f3ddf44d5818227e1f636c1a0085074.tar dexon-f67cbd1c9f3ddf44d5818227e1f636c1a0085074.tar.gz dexon-f67cbd1c9f3ddf44d5818227e1f636c1a0085074.tar.bz2 dexon-f67cbd1c9f3ddf44d5818227e1f636c1a0085074.tar.lz dexon-f67cbd1c9f3ddf44d5818227e1f636c1a0085074.tar.xz dexon-f67cbd1c9f3ddf44d5818227e1f636c1a0085074.tar.zst dexon-f67cbd1c9f3ddf44d5818227e1f636c1a0085074.zip |
core: vm: sqlvm: ast: use pointer receivers
Since all nodes must be declared as pointers to satisfy the interface,
it is no longer meaningful to use value receivers. It should make the
code look more consistent and reduce the amount of memory copying
during function calls because these structs takes at least 8 bytes.
Diffstat (limited to 'cmd/swarm')
0 files changed, 0 insertions, 0 deletions