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

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

[Octave-bug-tracker] [bug #60016] libqhull was deprecated in favor of li


From: Stefan Brüns
Subject: [Octave-bug-tracker] [bug #60016] libqhull was deprecated in favor of libqhull_r
Date: Sat, 3 Apr 2021 06:00:18 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0

Follow-up Comment #5, bug #60016 (project octave):


[comment #3 comment #3:]
> They write that reentrant Qhull is 1-2% slower:
> http://www.qhull.org/html/qh-code.htm#reentrant

I doubt there is even a measurable difference between reentrant and
non-reentrant library versions. Rationale:

Both versions fetch any data from the qhT struct as loads relative to its base
address. In case of a global struct (non-reentrant), this base address has to
be loaded from memory (even the non-reentrant library is relocatable), for the
reentrant version it is passed via register as first parameter. The first is
done by the calee, the second by the caller. The amount of code stays the
same, as can be verified by reading the assembly.

When using a non-reentrant, non-relocatable static version of libqhull this
can be optimized away, but this is of course not relevant for octave.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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