diff options
| author | Shulhan <ms@kilabit.info> | 2023-09-10 23:02:30 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-09-11 02:26:33 +0700 |
| commit | b7d71e92bb35353c7b0e45a80a06d81cdf26797b (patch) | |
| tree | 10cc795cbe1dcd2799966f8e1b749ae3c2a1abe7 /lib/sql/sql.go | |
| parent | 0e9b10f563a444b0ac49c8abe45e78cb53e60987 (diff) | |
| download | pakakeh.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
