Skip to content

Allow hash tables for TGeo volumes to rehash automatically#21327

Open
davidlange6 wants to merge 1 commit intoroot-project:masterfrom
davidlange6:dl260219
Open

Allow hash tables for TGeo volumes to rehash automatically#21327
davidlange6 wants to merge 1 commit intoroot-project:masterfrom
davidlange6:dl260219

Conversation

@davidlange6
Copy link
Contributor

Current TGeoVolume::AddVolume is a performance bottleneck in creation of large geometry models (eg, the idea detector geometry model for fcc studies). Allowing the hash tables to automatically rehash (as is already done for other hash tables) speeds up the entire xml processing and detector geometry creation(using dd4hep) by about 4x for this detector.

I believe only TGeoManager::AddVolume is used in my testing.

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

This PR fixes #

@davidlange6 davidlange6 requested a review from agheata as a code owner February 19, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments