aboutsummaryrefslogtreecommitdiff
path: root/lib/errors/errors.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-09-10 21:00:28 +0700
committerShulhan <ms@kilabit.info>2023-09-11 02:16:52 +0700
commit051fc539d4647eedd86900feed3c5eefb845c833 (patch)
tree8820cf4974b36c53014dde67e3f469722fa10d98 /lib/errors/errors.go
parent6c18eea29f762d999b77374ff95f6a2a3e058a16 (diff)
downloadpakakeh.go-051fc539d4647eedd86900feed3c5eefb845c833.tar.xz
lib/dsv: realign struct for better size allocation
The realignment reduce the cost of the following struct, * ReadWriter: from 232 to 224 bytes (-8 bytes) * Metadata: from 104 to 88 bytes (-16 bytes) * Reader: from 160 to 140 bytes (-20 bytes) * struct in TestConfigParse: from 24 to 16 bytes (-8 bytes) * struct in TestDatasetMode: from 16 to 8 bytes (-8 bytes) * ReaderError: from 48 to 40 bytes (-8 bytes) * Writer: from 72 to 56 bytes (-16 bytes)
Diffstat (limited to 'lib/errors/errors.go')
0 files changed, 0 insertions, 0 deletions