Improvement of L1Vector, 2 bug fixes
-
Review changes -
-
Download -
Patches
-
Plain diff
new L1Vector class:
/// L1Vector class is a wrapper around std::vector.
/// It does the following:
/// 1. resizes the vector without initializing the new elements
/// 2. controls the out-of-range access in debug mode
/// 3. warns when the preallocated capacity is not big enough
/// 4. blocks usage of boolean vectors, as they have a special
/// space-optimized but slow implementation in std. (Use L1Vector<char> instead).
Additionally, there is a bug fix in the OpenMP part: the wrong size of the OpenMP lock array. Without this bugfix, the new L1Vector generates an error in one of the tests. So I have to include it in this MR.
@f.uhlig, there is a hope that this OpenMP bugfix also resolves the old problem with OpenMP on MacOsX: https://redmine.cbm.gsi.de/issues/2138
Edited by Sergey Gorbunov
Merge request reports
Compare and
- version 3640d4031a
- version 35142f5dc9
- version 3485a47826
- version 3365f836cb
- version 322d8524fc
- version 311f5337cf
- version 304e47e619
- version 2962e6ea28
- version 28170d92af
- version 272fd80c9e
- version 26d27111b3
- version 25c25c9bf8
- version 24d22b02af
- version 23b0ccd25d
- version 2252899dbf
- version 21a594eaa6
- version 20aee259db
- version 195c5af615
- version 1878ce7797
- version 179d17f215
- version 16e6ead897
- version 1530e40036
- version 1486c2eda7
- version 137c1b9215
- version 12191b4f16
- version 116f8981d0
- version 10139bc03d
- version 9b07f3424
- version 8a98535f0
- version 7a9d3bca9
- version 6a8d524ae
- version 54fe80551
- version 4af0b6720
- version 38ae8fbb3
- version 289d9f643
- version 19d316c14
- master (base)
- latest versiona27006d27 commits,
- version 3640d4031a7 commits,
- version 35142f5dc97 commits,
- version 3485a478267 commits,
- version 3365f836cb5 commits,
- version 322d8524fc6 commits,
- version 311f5337cf6 commits,
- version 304e47e6196 commits,
- version 2962e6ea286 commits,
- version 28170d92af6 commits,
- version 272fd80c9e6 commits,
- version 26d27111b36 commits,
- version 25c25c9bf86 commits,
- version 24d22b02af6 commits,
- version 23b0ccd25d6 commits,
- version 2252899dbf6 commits,
- version 21a594eaa66 commits,
- version 20aee259db6 commits,
- version 195c5af6156 commits,
- version 1878ce77976 commits,
- version 179d17f2156 commits,
- version 16e6ead8976 commits,
- version 1530e400366 commits,
- version 1486c2eda76 commits,
- version 137c1b92156 commits,
- version 12191b4f166 commits,
- version 116f8981d06 commits,
- version 10139bc03d6 commits,
- version 9b07f34246 commits,
- version 8a98535f05 commits,
- version 7a9d3bca95 commits,
- version 6a8d524ae5 commits,
- version 54fe805514 commits,
- version 4af0b67204 commits,
- version 38ae8fbb33 commits,
- version 289d9f6433 commits,
- version 19d316c143 commits,
Compare changes
- Side-by-side
- Inline
Files
27Loading