diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-07-27 10:41:40 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-07-27 10:41:40 +0200 |
commit | 4e98c1d73cb318791e3085e4e5fccace5a43b137 (patch) | |
tree | 6c80992610e24856a8d9c93e3fd1166490e506e9 /extra/elasticsearch/fatcat_ref.json | |
parent | f60974d1e7a3ceceaa677e2c2faa40bfdbd78bb3 (diff) | |
download | refcat-4e98c1d73cb318791e3085e4e5fccace5a43b137.tar.gz refcat-4e98c1d73cb318791e3085e4e5fccace5a43b137.zip |
reuse timestamps
while time.Now is not really slow, thanks to vDSO (cf.
https://git.io/J4SOH), it will be even faster to just call it once at
the start of the processing; also:
https://twitter.com/davidcrawshaw/status/1414243408936280073
> Turns out http://time.Now was taking its usual amount of time on
linux, ~50 nanoseconds [...]
Diffstat (limited to 'extra/elasticsearch/fatcat_ref.json')
0 files changed, 0 insertions, 0 deletions