hugo/common
Bjørn Erik Pedersen d5eda13cb2 Replace the MD5 hashing of images with xxHash
Note that we only use this for change detection.

The previous implementation invoked `MD5FromReaderFast` that created a MD5 has from 8 64 bytes chunks in the file, which is obviously very fast. The new implementation creates the hash from the entire file and ... seems to be even more effective:

```
name          old time/op    new time/op    delta
HashImage-10    9.45µs ±21%   10.89µs ± 1%     ~     (p=0.343 n=4+4)

name          old alloc/op   new alloc/op   delta
HashImage-10      144B ± 0%        8B ± 0%  -94.44%  (p=0.029 n=4+4)

name          old allocs/op  new allocs/op  delta
HashImage-10      4.00 ± 0%      1.00 ± 0%  -75.00%  (p=0.029 n=4+4)
```
2024-07-31 16:44:06 +02:00
..
collections Implement defer 2024-06-23 11:25:47 +02:00
constants
hashing Replace the MD5 hashing of images with xxHash 2024-07-31 16:44:06 +02:00
hcontext
herrors Implement defer 2024-06-23 11:25:47 +02:00
hexec Add css.TailwindCSS 2024-06-25 15:48:02 +02:00
hreflect
hstrings Add Luminance to Color 2024-04-16 10:02:46 +02:00
htime
hugio Implement defer 2024-06-23 11:25:47 +02:00
hugo releaser: Prepare repository for 0.131.0-DEV 2024-07-29 14:06:20 +00:00
loggers Fix Erroridf/Warnidf mixed case issue 2024-06-22 19:01:56 +02:00
maps Implement defer 2024-06-23 11:25:47 +02:00
math
para
paths Implement defer 2024-06-23 11:25:47 +02:00
predicate Add a HTTP cache for remote resources. 2024-06-04 16:07:39 +02:00
rungroup
tasks Add a HTTP cache for remote resources. 2024-06-04 16:07:39 +02:00
terminal
text
types Add a HTTP cache for remote resources. 2024-06-04 16:07:39 +02:00
urls
docs.go