hugo/transform
bep c641ffea3a absurlreplacer: write replacements directly to the byte buffer
The extra step isn't needed and this makes the code simpler.

And slightly faster:

benchmark              old ns/op     new ns/op     delta
BenchmarkAbsUrl        19987         17498         -12.45%
BenchmarkXmlAbsUrl     10606         9503          -10.40%

benchmark              old allocs     new allocs     delta
BenchmarkAbsUrl        28             24             -14.29%
BenchmarkXmlAbsUrl     14             12             -14.29%

benchmark              old bytes     new bytes     delta
BenchmarkAbsUrl        3512          3297          -6.12%
BenchmarkXmlAbsUrl     2059          1963          -4.66%
2015-03-10 18:50:22 +01:00
..
absurl.go Improve abs url replacement speed 2015-02-16 08:24:42 -05:00
absurlreplacer.go absurlreplacer: write replacements directly to the byte buffer 2015-03-10 18:50:22 +01:00
chain.go transform chain using BBP 2015-01-30 11:39:06 -08:00
chain_test.go Fix canonifyurl vs schemaless links 2015-02-17 11:07:24 +01:00
livereloadinject.go Return unmodified content if panic in LiveReloadInject 2015-02-18 22:16:40 +01:00