[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61129] Performance of factor(). Proposed patc
From: |
Kai Torben Ohlhus |
Subject: |
[Octave-bug-tracker] [bug #61129] Performance of factor(). Proposed patch attached. |
Date: |
Mon, 4 Oct 2021 00:58:50 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 |
Follow-up Comment #14, bug #61129 (project octave):
Thanks for reading this great discussion resulting in an enormous improvement
for the factor function! 🙂
Sorry for the delay, the changes where not trivial, and no ready-to-use
benchmark scripts where attached. I reviewed and tested the attached patches
and come to similar conclusions as the OP and @mleitner, great work 👍
(file #52017)
To reproduce the benchmark use
file #52018
and a ready-to-apply version of patch6 file #52016 . Looking at the numbers
for input 1e15 upwards, patch6 is simply amazing!
@OP, I like you comments for future developers and hope to have preserved them
as good as possible, regarding the Octave code style guidelines
https://wiki.octave.org/Contribute .
@OP: How would you like to be credited or do you prefer anonymity?
@mleitner: Would you like to be credited with the name and email from a past
cset https://hg.savannah.gnu.org/hgweb/octave/rev/845aba35fca7 ?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61129>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61129] Performance of factor(). Proposed patch attached., Kai Torben Ohlhus, 2021/10/04
- [Octave-bug-tracker] [bug #61129] Performance of factor(). Proposed patch attached.,
Kai Torben Ohlhus <=
- [Octave-bug-tracker] [bug #61129] Performance of factor(). Proposed patch attached., anonymous, 2021/10/04
- [Octave-bug-tracker] [bug #61129] Performance of factor(). Proposed patch attached., Michael Leitner, 2021/10/04
- [Octave-bug-tracker] [bug #61129] Performance of factor(). Proposed patch attached., Kai Torben Ohlhus, 2021/10/05
- [Octave-bug-tracker] [bug #61129] Improve performance of factor() function, Kai Torben Ohlhus, 2021/10/05
- [Octave-bug-tracker] [bug #61129] Improve performance of factor() function, Michael Leitner, 2021/10/05
- [Octave-bug-tracker] [bug #61129] Improve performance of factor() function, anonymous, 2021/10/05
- [Octave-bug-tracker] [bug #61129] Improve performance of factor() function, Michael Leitner, 2021/10/05
- [Octave-bug-tracker] [bug #61129] Improve performance of factor() function, anonymous, 2021/10/05
- [Octave-bug-tracker] [bug #61129] Improve performance of factor() function, Kai Torben Ohlhus, 2021/10/05
- [Octave-bug-tracker] [bug #61129] Improve performance of factor() function, Arun Giridhar, 2021/10/06