aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd/skate-wikipedia-doi
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-07-27 10:41:40 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-07-27 10:41:40 +0200
commit4e98c1d73cb318791e3085e4e5fccace5a43b137 (patch)
tree6c80992610e24856a8d9c93e3fd1166490e506e9 /skate/cmd/skate-wikipedia-doi
parentf60974d1e7a3ceceaa677e2c2faa40bfdbd78bb3 (diff)
downloadrefcat-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 'skate/cmd/skate-wikipedia-doi')
0 files changed, 0 insertions, 0 deletions