Skip to content

Avoid std::map in EventSelectionModule#16396

Open
ktf wants to merge 1 commit into
AliceO2Group:masterfrom
ktf:pr16396
Open

Avoid std::map in EventSelectionModule#16396
ktf wants to merge 1 commit into
AliceO2Group:masterfrom
ktf:pr16396

Conversation

@ktf
Copy link
Copy Markdown
Member

@ktf ktf commented May 26, 2026

No description provided.

@ktf ktf requested review from a team, alibuild, ddobrigk, dsekihat, iarsene and jgrosseo as code owners May 26, 2026 12:22
@ktf
Copy link
Copy Markdown
Member Author

ktf commented May 26, 2026

@ddobrigk can you have a look here? Looking up in a map is very expensive due to the pointer traversal and constructing it requires one allocation per node which is also expensive. A binary search in a vector of pairs should be much faster. Also, @aalkin was suggesting to use a index table for this?

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.

1 participant