Skip to content

PWGHF: Cache lookups in Array2D - #47

Merged
ginnocen merged 1 commit into
AliceO2Group:masterfrom
ktf:cache-string-lookups
Aug 29, 2021
Merged

PWGHF: Cache lookups in Array2D#47
ginnocen merged 1 commit into
AliceO2Group:masterfrom
ktf:cache-string-lookups

Conversation

@ktf

@ktfktf commented Aug 29, 2021

Copy link
Copy Markdown
Member

String lookups are done per candidate, making it extremely slow for
no reason. Caching the position of the indices should give a rather
significant boost to loosely cut setups.

@ktf

ktf commented Aug 29, 2021

Copy link
Copy Markdown
MemberAuthor

@ginnocen this should speed up quite significantly the 3 prong business...

@ktf

ktf commented Aug 29, 2021

Copy link
Copy Markdown
MemberAuthor

(not yet tested)

@vkuceravkucera changed the title Cache lookups in Array2DPWGHF: Cache lookups in Array2DAug 29, 2021
@ktf

ktf commented Aug 29, 2021

Copy link
Copy Markdown
MemberAuthor

Do not merge. This crashes. I think i missed something trivial. Looking into it.

@vkucera
vkucera marked this pull request as draft August 29, 2021 11:54
String lookups are done per candidate, making it extremely slow for
no reason. Caching the position of the indices should give a rather
significant boost to loosely cut setups.
@ktf
ktfforce-pushed the cache-string-lookups branch from e52adb5 to b7a88d6CompareAugust 29, 2021 13:25
@ktf
ktf marked this pull request as ready for review August 29, 2021 14:50
@ktf

ktf commented Aug 29, 2021

Copy link
Copy Markdown
MemberAuthor

Verified with https://alimonitor.cern.ch/train-workdir/tests/0001/00010515/stdout.log by Sourav. 3x times in that particular case.

@ginnocen
ginnocen enabled auto-merge (squash) August 29, 2021 15:17
@ginnocen
ginnocen merged commit e2714a4 into AliceO2Group:masterAug 29, 2021
alibuild pushed a commit to alibuild/O2Physics that referenced this pull request Dec 11, 2023
alibuild added a commit to alibuild/O2Physics that referenced this pull request Mar 27, 2024
alibuild pushed a commit to alibuild/O2Physics that referenced this pull request May 2, 2024
alibuild pushed a commit to alibuild/O2Physics that referenced this pull request Jun 3, 2025
alibuild pushed a commit to alibuild/O2Physics that referenced this pull request Jul 15, 2025
Sign up for freeto 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

@ktf@ginnocen