"README.md" did not exist on "6108492540004dc4d8ff725438894d3eec865f4f"
Use TObjArray::GetEntriesFast to avoid wasting time.
TObjArray::GetEntries() counts the number of non-zero slots while TObjArray::GetEntriesFast() return (in most case) the value of a high water mark (the slot over which all remaining slots are empty). In one use case (doing read a TTree and do many TTree cloning (via TBufferMerger), TObjArray::GetEntries was taking 8% of the running time (compression was disabled) Note: TObjArray::IsEmpty use GetEntriesFast rather than GetEntries.
Showing
- core/base/src/TColor.cxx 4 additions, 1 deletioncore/base/src/TColor.cxx
- core/base/src/TUrl.cxx 2 additions, 2 deletionscore/base/src/TUrl.cxx
- core/meta/src/TClass.cxx 1 addition, 1 deletioncore/meta/src/TClass.cxx
- core/meta/src/TSchemaRuleSet.cxx 4 additions, 4 deletionscore/meta/src/TSchemaRuleSet.cxx
- core/metacling/src/TCling.cxx 1 addition, 1 deletioncore/metacling/src/TCling.cxx
- io/io/inc/TStreamerInfo.h 1 addition, 1 deletionio/io/inc/TStreamerInfo.h
- io/io/src/TArchiveFile.cxx 1 addition, 1 deletionio/io/src/TArchiveFile.cxx
- io/io/src/TStreamerInfo.cxx 13 additions, 13 deletionsio/io/src/TStreamerInfo.cxx
- io/io/src/TStreamerInfoActions.cxx 3 additions, 3 deletionsio/io/src/TStreamerInfoActions.cxx
- tree/tree/src/TBranch.cxx 1 addition, 1 deletiontree/tree/src/TBranch.cxx
- tree/tree/src/TBranchElement.cxx 4 additions, 2 deletionstree/tree/src/TBranchElement.cxx
- tree/tree/src/TTreeCache.cxx 1 addition, 1 deletiontree/tree/src/TTreeCache.cxx
- tree/tree/src/TTreeCloner.cxx 12 additions, 12 deletionstree/tree/src/TTreeCloner.cxx
Loading
Please register or sign in to comment