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

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

[Octave-bug-tracker] [bug #35400] Interpreter should recognize equivalen


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #35400] Interpreter should recognize equivalent of in-place operations for performance gain
Date: Tue, 18 Apr 2023 11:42:45 -0400 (EDT)

Follow-up Comment #8, bug #35400 (project octave):

updating with octave 8.2.0 (results fairly stable over a few runs)


x = x + 1:
Elapsed time is 0.988505 seconds.

x++:
Elapsed time is 0.512677 seconds.

x += 1:
Elapsed time is 0.678747 seconds.


relative timing - 100%/51.9%/68.7%

so possibly the += operator has gotten more efficient, but the optimization
mapping suggested comment #7 is still pending.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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