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
pagemeta tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
page.go
page_author.go
page_data.go
page_data_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
page_kinds.go
page_kinds_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
page_marshaljson.autogen.go
page_nop.go
page_outputformat.go
page_paths.go
page_paths_test.go
page_wrappers.autogen.go
pagegroup.go
pagegroup_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
pages.go
pages_cache.go
pages_cache_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
pages_language_merge.go
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
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
pagination_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
permalinks.go
permalinks_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
site.go
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