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

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

[Octave-bug-tracker] [bug #64882] Slow to pass arrays out of mexFunction


From: anonymous
Subject: [Octave-bug-tracker] [bug #64882] Slow to pass arrays out of mexFunction
Date: Mon, 13 Nov 2023 16:21:17 -0500 (EST)

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

Correction, g++-9. That solved it!

octave:4> A=rand(20000);
octave:5> tic;B=TestFunc(A);toc
Entered      : Elapsed time is 0.00041604 seconds.
Parsed args  : Elapsed time is 0.000488043 seconds.
Created array: Elapsed time is 1.83954 seconds.
Elapsed time is 1.83962 seconds.

Well, apart from the 1.8 seconds to calloc a 3Gb array... ;)



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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