On my Linux box with version 5.17/04, your top code runs in 0.63 seconds and
the bottom code in 0.89 seconds. This looks correct. What are your values and conditions?
[quote=“brun”]On my Linux box with version 5.17/04, your top code runs in 0.63 seconds and
the bottom code in 0.89 seconds. This looks correct. What are your values and conditions?
Rene[/quote]
Hi, thank you for reply. But on my computer, with SLC4.13 and ROOT v5.17, the top code takes 36.428s while the bottom one only takes 0.767s. The time difference is quite large and I don’t know why.
Could you tell us:
-which version of gcc?
-which ROOT version ? 5.17/02, 5.17/04, other?
-Did you install from source yourself? if not from which binary?
[quote=“brun”]Could you tell us:
-which version of gcc?
-which ROOT version ? 5.17/02, 5.17/04, other?
-Did you install from source yourself? if not from which binary?
Rene[/quote]
Sure. 1.My gcc version is 3.4.6. 2.My ROOT version is 5.17/02. I have asked my colleagues to help to test, and it turns out that the problem also occurs under v5.14 and v5.16.
3.I compiled my ROOT from source.