octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63376] tsearchn quite slow (compared to tsear


From: Rik
Subject: [Octave-bug-tracker] [bug #63376] tsearchn quite slow (compared to tsearch)
Date: Thu, 17 Nov 2022 17:57:09 -0500 (EST)

Follow-up Comment #1, bug #63376 (project octave):

Using the profiler, it looks like it is not just the for loop.  The conversion
of Cartesian to barycentric coordinates (a subfunction in tsearchn.m) is what
is taking most of the time.


  tsearchn: 1 calls, 102.605 total, 20.921 self
    1) tsearchn>cart2bary: 79968 calls, 75.149 total, 20.269 self
    2) binary >=: 79968 calls, 3.237 total, 3.237 self
    3) all: 79968 calls, 3.162 total, 3.162 self
    4) prefix -: 79968 calls, 0.136 total, 0.136 self
    5) NaN: 2 calls, 0.000 total, 0.000 self
    6) size: 1 calls, 0.000 total, 0.000 self
    7) rows: 2 calls, 0.000 total, 0.000 self
    8) postfix .': 1 calls, 0.000 total, 0.000 self
    9) binary +: 1 calls, 0.000 total, 0.000 self
    10) nargin: 1 calls, 0.000 total, 0.000 self
    11) binary !=: 1 calls, 0.000 total, 0.000 self




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63376>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]