diff options
author | Eric Wong <e@yhbt.net> | 2020-04-05 07:53:49 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-04-05 22:06:23 +0000 |
commit | b9cc3985078111b1fb38de920fd3b7afe3eec542 (patch) | |
tree | a469c00f37583d31857a011e3828b7ff430032c3 /examples | |
parent | 1e5d704f1234ded472b800e42bedb5579780296e (diff) | |
download | public-inbox-b9cc3985078111b1fb38de920fd3b7afe3eec542.tar.gz |
The stat() array is a whopping 480 bytes (on x86-64, Perl 5.28), while the new packed representation of two 64-bit doubles as a scalar is "only" 56 bytes. This can add up when there's many inboxes. Just use a string comparison on the packed representation. Some 32-bit Perl builds (IIRC OpenBSD) lack quad support, so doubles were chosen for pack() portability.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions