4 Aug
2004
4 Aug
'04
1:04 p.m.
On Tue, Aug 03, 2004 at 09:03:12AM -0300, bulia byak wrote:
I'd have no problem with that commit. How are you benchmarking the speed-up?
Simply by timing loading/quitting with a big file (tutorial-basic now loads in 2.59 sec averaged). But these two [] operators are on top of the profile no matter what you do,
This seems suspicious to me: if they have an item in the profile, then that suggests that they aren't getting inlined.
Offhand, I'd have expected that the test can be optimized away if the function is inlined, but of course there's no way of optimizing it away if it isn't inlined.
What compilation flags are you using? What compiler?
pjrm.