potential speed-up in reading ROOT files
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- cpp
- Domain
- performance
Research direction
Start by locating the current GetEntry calls and the handling of save_position, then compare their usage with ROOT's TEntryList documentation linked in the issue. Determine whether sequential processing permits Next or requires choosing between Next and GetEntry based on access patterns; done means the reading path is measurably faster without changing its behavior.
Written by the indexing model from the issue text.
Description
https://root.cern.ch/doc/master/TEntryList_8cxx_source.html says
__GetEntry(n)__ - returns the n-th entry number
- __Next__() - returns next entry number. Note, that this function is
much faster than GetEntry, and it's called when GetEntry() is called
for 2 or more indices in a row.
We're using GetEntry at the moment. There's maybe an easy work-around to have a method that check if we should call Next or GetEntry depending on the number (seems a bit silly that ROOT wouldn't do that).
The alternative might be to just call Next, as we will always process in sequence (except when using the save_position).
- Dominant language
- C++
- Stars
- 160
- Forks
- 113
- Avg merge
- 12d 15h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from UCL/STIR
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·