Closed 1uc closed 9 months ago
This PR contains two variants:
type(selection.ranges)
from List[Tuple]
to List[List]
. List[Tuple]
as before.Note, that the default STL conversion implies a copy. Hence, this is likely the same amount of copies.
Updates of the BBP stack built on BB5 have been prepared and pass CI: https://github.com/BlueBrain/spack/pull/2216
We needed to change:
- ranges.emplace_back(i_begin, i_end);
+ ranges.push_back({i_begin, i_end});
By using an
std::array
we can removed the differences betweenRawIndex
andSelection::Ranges
. It also allows us to readSelection::Ranges
from disk directly via the HighFive API.