diff options
| author | Shulhan <ms@kilabit.info> | 2023-09-10 21:12:01 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-09-11 02:16:52 +0700 |
| commit | b37b7e68a5cb4b6b267de07c282e079000cf693e (patch) | |
| tree | 2f9705243cfe2f74a4cec14e1a53dc9eea5eb496 /lib/errors | |
| parent | 051fc539d4647eedd86900feed3c5eefb845c833 (diff) | |
| download | pakakeh.go-b37b7e68a5cb4b6b267de07c282e079000cf693e.tar.xz | |
email/dkim: realign struct for better size allocation
The realignment reduce the cost of the following struct,
* struct in TestNewDNSClientPool: from 64 to 56 bytes (-8 bytes)
* Key: from 160 to 144 bytes (-16 bytes)
* struct in TestKeyParseTXT: from 48 to 40 bytes (-8 bytes)
* KeyPool: from 16 to 8 bytes (-8 bytes)
* Signature: from 256 to 240 bytes (-16 bytes)
* struct in TestSignatureHash: from 48 to 40 bytes (-8 bytes)
* struct in TestSignatureSign: from 80 to 64 bytes (-16 bytes)
* struct in TestSignatureVerify: from 72 to 64 bytes (-8 bytes)
* Status: from 48 to 24 bytes (-24 bytes)
* tag: from 16 to 8 bytes (-8 bytes)
Diffstat (limited to 'lib/errors')
0 files changed, 0 insertions, 0 deletions
