aboutsummaryrefslogtreecommitdiff
path: root/lib/sql/sql.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-09-10 23:02:30 +0700
committerShulhan <ms@kilabit.info>2023-09-11 02:26:33 +0700
commitb7d71e92bb35353c7b0e45a80a06d81cdf26797b (patch)
tree10cc795cbe1dcd2799966f8e1b749ae3c2a1abe7 /lib/sql/sql.go
parent0e9b10f563a444b0ac49c8abe45e78cb53e60987 (diff)
downloadpakakeh.go-b7d71e92bb35353c7b0e45a80a06d81cdf26797b.tar.xz
lib/paseto: realign struct for better size allocation
The realignment reduce the cost of the following struct, * JSONFooter: from 24 to 16 bytes (-8) * Key: from 72 to 56 bytes (-16) * keys: from 16 to 8 bytes (-8) * struct in TestEncrypt: from 88 to 80 bytes (-8) * structtest in TestSign: from 72 to 64 bytes (-8) * PublicMode: from 80 to 64 bytes (-16) * struct in TestPublicMode_UnpackHTTPRequest: from 56 to 48 bytes (-8) * PublicToken: from 152 to 136 bytes (-16)
Diffstat (limited to 'lib/sql/sql.go')
0 files changed, 0 insertions, 0 deletions