[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64264] reorganize tsearch for a 20% performan
From: |
A.R. Burgers |
Subject: |
[Octave-bug-tracker] [bug #64264] reorganize tsearch for a 20% performance gain |
Date: |
Wed, 31 May 2023 04:21:23 -0400 (EDT) |
Follow-up Comment #4, bug #64264 (project octave):
[comment #1 comment #1:]
> Do you need the variable det_pos at all? You could replace "if (det_pos !=
0)" with "if (det > 0)" and remove the other lines where it shows up. Does
that keep the speed the same?
Yes, I had a look at that too. No with (det > 0) instead of (det_pos != 0) I
don't see a performance gain for the same platform.
There is scope for some improvement here, but it seems to be quite sensitive
to the exact environment and compiler settings,
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64264>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/