hugo/resources/page
Bjørn Erik Pedersen 653e6856ea resources/page: Use binary search in Pages.Prev/Next if possible
This is obviously much faster for lager data sets:

```bash
name                         old time/op    new time/op    delta
SearchPage/ByWeight-100-4       267ns ± 4%     272ns ± 5%     ~     (p=0.457 n=4+4)
SearchPage/ByWeight-5000-4     10.8µs ± 3%     1.2µs ± 2%  -88.99%  (p=0.029 n=4+4)
SearchPage/ByWeight-10000-4    21.1µs ± 1%     1.4µs ±11%  -93.28%  (p=0.029 n=4+4)
```

See #4500
2019-10-13 12:36:17 +02:00
..
page_generate resources/page: Fix .RSSLinke deprecation message 2019-04-09 16:47:29 +02:00
pagemeta tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
page.go Simplify page tree logic 2019-08-08 20:13:39 +02:00
page_author.go Remove references to Google+ 2019-05-26 19:24:45 +02:00
page_data.go Make Page an interface 2019-03-23 18:51:22 +01:00
page_data_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
page_kinds.go hugolib: Fix output format handling of mix cased page kinds 2019-08-05 11:22:03 +02:00
page_kinds_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
page_marshaljson.autogen.go resources/page: Regenerate JSON wrapper 2019-04-05 16:58:52 +02:00
page_nop.go Simplify page tree logic 2019-08-08 20:13:39 +02:00
page_outputformat.go Make Page an interface 2019-03-23 18:51:22 +01:00
page_paths.go hugolib: Fix bundle path when slug is set 2019-06-09 16:55:08 +02:00
page_paths_test.go Make Page an interface 2019-03-23 18:51:22 +01:00
page_wrappers.autogen.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
pagegroup.go Merge pull request #6149 from bep/sort-caseinsensitive 2019-08-01 10:19:19 +02:00
pagegroup_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
pages.go tpl/collections: Fix slice type handling in sort 2019-06-10 08:32:44 +02:00
pages_cache.go Make Page an interface 2019-03-23 18:51:22 +01:00
pages_cache_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
pages_language_merge.go Make Page an interface 2019-03-23 18:51:22 +01:00
pages_prev_next.go resources/page: Use binary search in Pages.Prev/Next if possible 2019-10-13 12:36:17 +02:00
pages_prev_next_test.go Make Pages.Prev/Next work like the other Prev/Next methods 2019-10-13 12:36:17 +02:00
pages_related.go Make Page an interface 2019-03-23 18:51:22 +01:00
pages_related_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
pages_sort.go resources/page: Use binary search in Pages.Prev/Next if possible 2019-10-13 12:36:17 +02:00
pages_sort_search.go resources/page: Use binary search in Pages.Prev/Next if possible 2019-10-13 12:36:17 +02:00
pages_sort_search_test.go resources/page: Use binary search in Pages.Prev/Next if possible 2019-10-13 12:36:17 +02:00
pages_sort_test.go resources/page: Use binary search in Pages.Prev/Next if possible 2019-10-13 12:36:17 +02:00
pages_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
pagination.go Make Page an interface 2019-03-23 18:51:22 +01:00
pagination_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
permalinks.go Avoid unnecessary conversions 2019-08-10 20:12:38 +02:00
permalinks_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
site.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
testhelpers_test.go resources/page: Use binary search in Pages.Prev/Next if possible 2019-10-13 12:36:17 +02:00
weighted.go resources/page: Use binary search in Pages.Prev/Next if possible 2019-10-13 12:36:17 +02:00
zero_file.autogen.go Add Hugo Modules 2019-07-24 09:35:53 +02:00