hugo/tpl
Bjørn Erik Pedersen 022c479551
hugofs: Make FileMeta a struct
This commit started out investigating a `concurrent map read write` issue, ending by replacing the map with a struct.

This is easier to reason about, and it's more effective:

```
name                                  old time/op    new time/op    delta
SiteNew/Regular_Deep_content_tree-16    71.5ms ± 3%    69.4ms ± 5%    ~     (p=0.200 n=4+4)

name                                  old alloc/op   new alloc/op   delta
SiteNew/Regular_Deep_content_tree-16    29.7MB ± 0%    27.9MB ± 0%  -5.82%  (p=0.029 n=4+4)

name                                  old allocs/op  new allocs/op  delta
SiteNew/Regular_Deep_content_tree-16      313k ± 0%      303k ± 0%  -3.35%  (p=0.029 n=4+4)
```

See #8749
2021-07-15 17:14:26 +02:00
..
cast Misc config loading fixes 2021-06-14 17:00:32 +02:00
collections Misc config loading fixes 2021-06-14 17:00:32 +02:00
compare
crypto
data Misc config loading fixes 2021-06-14 17:00:32 +02:00
debug
encoding Misc config loading fixes 2021-06-14 17:00:32 +02:00
fmt docs: Regenerate docs helper 2021-06-08 18:52:38 +02:00
hugo Misc config loading fixes 2021-06-14 17:00:32 +02:00
images Misc config loading fixes 2021-06-14 17:00:32 +02:00
inflect Fix some humanize issues 2021-02-14 18:30:59 +01:00
internal tpl: Add temporary patch to fix template data race 2021-02-18 14:11:48 +01:00
js
lang
math Add math.Max and math.Min 2021-05-28 20:38:45 +02:00
openapi/openapi3 deps: Update getkin/kin-openapi v0.60.0 => v0.61. 2021-04-30 14:27:21 +02:00
os Misc config loading fixes 2021-06-14 17:00:32 +02:00
partials
path Misc config loading fixes 2021-06-14 17:00:32 +02:00
reflect
resources Misc config loading fixes 2021-06-14 17:00:32 +02:00
safe
site Misc config loading fixes 2021-06-14 17:00:32 +02:00
strings Misc config loading fixes 2021-06-14 17:00:32 +02:00
templates
time
tplimpl hugofs: Make FileMeta a struct 2021-07-15 17:14:26 +02:00
transform Misc config loading fixes 2021-06-14 17:00:32 +02:00
urls Misc config loading fixes 2021-06-14 17:00:32 +02:00
template.go
template_info.go
template_test.go