Commit Graph

1824 Commits

Author SHA1 Message Date
Hans Dembinski
ecd142080d speed improvements for 1d and 2d histograms
* rename get_size to axes_rank and move axes buffer to axes.hpp
* added fill experiments
* faster and simpler fill_impl
* faster specializations for linearize_value
2019-05-26 23:51:15 +02:00
Hans Dembinski
5f937d3665 better docs 2019-05-16 08:58:55 +02:00
Hans Dembinski
9b8de0536b update section about parallel filling 2019-05-15 21:54:27 +02:00
Hans Dembinski
cf9520bdfa make benchmarks compile with -O3 -march=native -fno-exceptions and -fno-rtti 2019-05-15 21:53:32 +02:00
Hans Dembinski
18567de9f3 simpler variant
* simpler, now correct variant
* replaced reference_wrapper with pointer
2019-05-15 14:55:27 +02:00
Hans Dembinski
af188b6476 clean up warnings 2019-05-14 23:02:30 +02:00
Hans Dembinski
59ef035bfb clone matching boostorg branch and compile with warnings-as-errors 2019-05-14 00:21:29 +02:00
Hans Dembinski
89056fc769 removed obsolete file 2019-05-14 00:19:34 +02:00
Hans Dembinski
89bf038f6e silence conversion warnings 2019-05-14 00:01:38 +02:00
Hans Dembinski
e5abd7dca1 tests of missing coverage and renamed make_mp_int to make_large_int 2019-05-13 23:32:52 +02:00
Hans Dembinski
1cb35db5f0 clean-up 2019-05-13 23:21:15 +02:00
Hans Dembinski
edb1a3f7c4 replace with std 2019-05-13 21:19:12 +02:00
Hans Dembinski
edad3d5332 clang-format 2019-05-13 21:18:59 +02:00
Hans Dembinski
9a0fc1392c better comments and names [ci skip] 2019-05-13 21:09:19 +02:00
Glen Fernandes
376ddeadc4 Simplify BOOST_NO_EXCEPTIONS support and use alloc_construct and alloc_destroy (#190) 2019-05-13 08:42:53 +02:00
Hans Dembinski
8602102014 support -fno-exceptions and -fno-rrti and test this 2019-05-12 22:08:10 +02:00
Hans Dembinski
a8226955c2 Improve serialization of variant using only public interface and added serialiation for thread_safe<T> 2019-05-12 17:56:45 +02:00
Hans Dembinski
af77b6af07 Decouple tests and benchmarks, turn off warnings for tests with some external boost libs
- Tests and benchmarks now only include the headers they really need.
- Warnings turned off for tests that compile with external boost libs that are not warning free
2019-05-12 13:33:54 +02:00
Hans Dembinski
f830847f07 improved reduce docs 2019-05-12 12:05:04 +02:00
Hans Dembinski
d65d47d082 new slice option, option fusion, more input checks 2019-05-10 00:01:16 +02:00
Hans Dembinski
5ef6a39945 Fix range iterator
* InputIterator concept requires that the decrement of a postfix-incremented iterator is valid, now it is
* added detached_accessor to that end
* update benchmark plot, better docs
2019-05-10 00:00:33 +02:00
Hans Dembinski
a31daae74e minor fixes 2019-05-09 22:57:40 +02:00
Mateusz Łoskot
7008921080 Add .gitattributes file (#187)
Ensure .sh scripts have LF and .bat scripts have CRLF in working directory.
Avoid conversion of Unix scripts to CRLF when checking out with
core.autocrlf=true, on Windows, what may cause shell failures.
2019-05-09 09:55:57 +02:00
Hans Dembinski
419280c0fc Remove the "x" label for simplicity 2019-05-04 09:02:13 +02:00
Hans Dembinski
6c268109a3 Safer indexed range
* defined behavior when .begin() is called more than once
* better documentation about behavior
2019-05-04 07:44:48 +02:00
Hans Dembinski
e75aa6b210 Google benchmark and benchmark improvements
* fetching google benchmark with cmake
* use new thread-safe accumulator in histogram_parallel_filling
* update boost, root and gsl benchmarks to use google benchmark
2019-05-03 22:06:01 +02:00
Hans Dembinski
4b9f13b11a remove all now unused deps 2019-05-03 11:40:04 +02:00
Hans Dembinski
75312340f2 Construct from any iterable and select proper type 2019-05-03 11:36:06 +02:00
Hans Dembinski
c9951aef3a simpler code to handle references 2019-05-02 10:35:37 +02:00
Hans Dembinski
f247c36a60 minor corrections of comment and use small letter for variable 2019-05-02 10:19:36 +02:00
Hans Dembinski
8c67f06b62 less verbose 2019-04-30 16:42:35 +02:00
Hans Dembinski
170199bb9f replacing boost::variant with detail::variant
- removes large number of outdated indirect boost dependencies
- less limited in number of stored types
2019-04-30 16:27:14 +02:00
Hans Dembinski
073dffdf09 More doc improvements 2019-04-28 12:22:49 +02:00
Hans Dembinski
22ec005290 Doc improvements
* preprocessor workarounds replaced by xml postprocessing
* better hide what's users shouldn't see
* big doc improvements everywhere
2019-04-27 15:59:50 +02:00
Hans Dembinski
9d25923b82 fix reduce when axis has no reduce support
- added is_reducible trait
- throw when axis is not reducible but reduction requested
2019-04-26 23:31:56 +02:00
Hans Dembinski
5c75437db5 project algorithm generalized
project now also works with static histogram and iterable arguments
2019-04-26 17:15:13 +02:00
Hans Dembinski
112dff8048 include less 2019-04-26 15:24:35 +02:00
Hans Dembinski
5b6cdc8861 fix for bug in reduce with mixed axis types in std::vector<axis::variant> 2019-04-26 10:22:18 +02:00
Hans Dembinski
2195df0419 Use curl instead of wget to download lcov 2019-04-26 10:18:06 +02:00
Hans Dembinski
49af2de9ff Update README.md 2019-04-26 09:37:12 +02:00
Hans Dembinski
a7596001f0 Fix URL 2019-04-24 13:13:02 +02:00
Hans Dembinski
329fcf6855 Fix missing coverage and allocator-fail logic
* fixed allocator-failing code with better mock allocator; 100 % code coverage on all platforms
* fixed and refined use of safe comparison of number types
2019-04-23 23:25:05 +02:00
Hans Dembinski
6b386c9b51 increase coverage
* provide unsafe access to buffer
* factored mp_int out into separate header and renamed to large_int
* refined adding behavior
* more warnings and comeback of coverage variant
* better coverage reporting
2019-04-22 03:33:05 +02:00
Hans Dembinski
ed4935cd93 better build files 2019-04-20 00:00:29 +02:00
Hans Dembinski
02348a74e1 Replace boost::iterator_adaptor with private iterator_adaptor to reduce dependencies 2019-04-19 23:07:23 +02:00
Hans Dembinski
07c3638423 also test threaded things with cmake 2019-04-16 23:41:03 +02:00
Hans Dembinski
5a6a78e5b6 more specific ignore 2019-04-16 23:40:38 +02:00
Hans Dembinski
67ff59ed5e fix executable script 2019-04-16 23:40:18 +02:00
Hans Dembinski
c10adcea1a fix broken tests 2019-04-16 23:13:32 +02:00
Hans Dembinski
7b88f02f0e fix for threading bug 2019-04-16 23:01:00 +02:00