hugo/hugolib
Bjørn Erik Pedersen 71ae9b4533 hugolib: Rewrite replaceDivider to reduce memory allocation
```bash
name              old time/op    new time/op    delta
ReplaceDivider-4   9.76µs ±105%    7.96µs ±24%     ~     (p=0.690 n=5+5)

name              old alloc/op   new alloc/op   delta
ReplaceDivider-4    3.46kB ± 0%    1.54kB ± 0%  -55.56%  (p=0.008 n=5+5)

name              old allocs/op  new allocs/op  delta
ReplaceDivider-4      6.00 ± 0%      1.00 ± 0%  -83.33%  (p=0.008 n=5+5)
```
2017-08-14 09:42:55 +02:00
..
testdata
404_test.go
alias.go
alias_test.go
author.go
case_insensitive_test.go
config.go Add support for multiple config files via --config a.toml,b.toml,c.toml 2017-08-09 20:13:02 +02:00
config_test.go Add support for multiple config files via --config a.toml,b.toml,c.toml 2017-08-09 20:13:02 +02:00
datafiles_test.go
disableKinds_test.go
embedded_shortcodes_test.go Add an iFrame title to the YouTube shortcode 2017-08-12 00:36:40 +02:00
gitinfo.go
handler_base.go all: Fix spelling 2017-08-07 20:19:24 +02:00
handler_file.go
handler_meta.go hugolib: More spelling 2017-08-08 10:54:35 +02:00
handler_page.go
handler_test.go
hugo_info.go
hugo_sites.go all: Fix spelling 2017-08-07 20:19:24 +02:00
hugo_sites_build.go
hugo_sites_build_test.go output: Support templates per site/language 2017-07-04 09:12:44 +02:00
media.go
menu.go
menu_old_test.go
menu_test.go
multilingual.go hugolib: More spelling 2017-08-08 10:54:35 +02:00
node_as_page_test.go
page.go hugolib: Rewrite replaceDivider to reduce memory allocation 2017-08-14 09:42:55 +02:00
page_collections.go
page_collections_test.go
page_output.go Add some missing doc comments 2017-08-03 15:57:51 +02:00
page_paths.go
page_paths_test.go
page_permalink_test.go
page_taxonomy_test.go
page_test.go hugolib: Rewrite replaceDivider to reduce memory allocation 2017-08-14 09:42:55 +02:00
page_time_integration_test.go
pageCache.go
pageCache_test.go
pageGroup.go
pageGroup_test.go
pageSort.go
pageSort_test.go
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go
pagination_test.go
path_separators_test.go
permalinker.go
permalinks.go hugolib: Extend the sections API 2017-07-04 09:11:49 +02:00
permalinks_test.go
robotstxt_test.go
rss_test.go
scratch.go
scratch_test.go
shortcode.go output: Support templates per site/language 2017-07-04 09:12:44 +02:00
shortcode_test.go helpers: Add --trace to asciidoctor args 2017-07-21 03:07:56 -06:00
shortcodeparser.go
shortcodeparser_test.go
site.go Remove sourceRelativeLinks 2017-08-02 22:04:38 +02:00
site_benchmark_test.go all: gofmt -s 2017-08-07 20:03:15 +02:00
site_output.go
site_output_test.go hubolib: Add HasShortcode 2017-07-17 23:20:13 +02:00
site_render.go hugolib: Render 404.html for all languages 2017-07-01 22:58:52 +02:00
site_sections.go hugolib: Extend the sections API 2017-07-04 09:11:49 +02:00
site_sections_test.go hugolib: Extend the sections API 2017-07-04 09:11:49 +02:00
site_test.go Remove sourceRelativeLinks 2017-08-02 22:04:38 +02:00
site_url_test.go
siteJSONEncode_test.go
sitemap.go
sitemap_test.go
taxonomy.go
taxonomy_test.go
template_engines_test.go
template_test.go
testhelpers_test.go
translations.go