hugo/tpl/tplimpl
Bjørn Erik Pedersen 644d55475d Add hash.XxHash
Also move the non crypto hash funcs into this new package.

This is much faster than e.g. MD5, especially for larger inputs:

```
BenchmarkXxHash/xxHash_43-10         	 9917955	       112.2 ns/op	      56 B/op	       4 allocs/op
BenchmarkXxHash/mdb5_43-10           	 6017239	       204.1 ns/op	      96 B/op	       3 allocs/op
BenchmarkXxHash/fnv32a_43-10         	14407333	        82.30 ns/op	      16 B/op	       1 allocs/op
BenchmarkXxHash/xxHash_4300-10       	 2916892	       409.7 ns/op	      56 B/op	       4 allocs/op
BenchmarkXxHash/mdb5_4300-10         	  159748	      7491 ns/op	    4912 B/op	       3 allocs/op
BenchmarkXxHash/fnv32a_4300-10       	  218210	      5510 ns/op	      16 B/op	       1 allocs/op
```

Fixes #12635
2024-07-06 14:08:15 +02:00
..
embedded
render_hook_integration_test.go
shortcodes.go
shortcodes_test.go
template.go Implement defer 2024-06-23 11:25:47 +02:00
template_ast_transformers.go Implement defer 2024-06-23 11:25:47 +02:00
template_ast_transformers_test.go Implement defer 2024-06-23 11:25:47 +02:00
template_errors.go
template_funcs.go Add hash.XxHash 2024-07-06 14:08:15 +02:00
template_funcs_test.go
template_test.go
templateFuncster.go
templateProvider.go
tplimpl_integration_test.go