Skip to content

DPL Analysis: allow std::vector column types backed by variable size list - #7021

Merged
ktf merged 3 commits into
AliceO2Group:devfrom
aalkin:variable-size-list
Sep 13, 2021
Merged

DPL Analysis: allow std::vector column types backed by variable size list#7021
ktf merged 3 commits into
AliceO2Group:devfrom
aalkin:variable-size-list

Conversation

@aalkin

@aalkin aalkin commented Sep 10, 2021

Copy link
Copy Markdown
Member
  • Update TableBuilder to handle writing vectors
  • Update ColumnIterator to handle extracting vectors
  • Add a test case to test_ASoA

@ktf this works, but I have doubts about using std::vector here (although very convenient)

…list

* Update TableBuilder to handle writing vectors
* Update ColumnIterator to handle extracting vectors
* Add a test case to test_ASoA
@aalkin
aalkin requested a review from a team as a code owner September 10, 2021 19:00
@aalkin

aalkin commented Sep 11, 2021

Copy link
Copy Markdown
Member Author

C++20 std::span would be much better here...

@aalkin

aalkin commented Sep 11, 2021

Copy link
Copy Markdown
Member Author

Now list column getter will return a gsl::span, so no extra allocations will happen.

@ktf
ktf merged commit e73a6f1 into AliceO2Group:dev Sep 13, 2021
@ktf

ktf commented Sep 13, 2021

Copy link
Copy Markdown
Member

As discussed we should probably use the filler with the iterator pairs, so that one does not need a std::vector on filling.

@aalkin
aalkin deleted the variable-size-list branch May 30, 2022 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants