[bug #68091] Inefficient Integer Data Loading from MAT-Files

"Dmitri A. Sergatskov" <[email protected]> Mon, 27 Apr 2026 08:04:51 -0400 (EDT)
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Follow-up Comment #14, bug #68091 (group octave):

I am confused -- you said you did not see an improvement, but it went from
0.285283 seconds to 0.0412259 seconds?

One potential problem with the code / mat-5 format is that int8NDArray stores
octave_int8, while MAT data is int8_t so std::is_same_v<StorageT, T> is false
and it still takes the temp-buffer plus element-wise assignment path.

Dmitri.
-- 



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCae9Q4wAKCRCqLAuaBUf3
Tpr9AQCPlHz6FL2Seogj6JeFhpzRHaURMHwxQZG3BEDqSTcy9gD/VXVS1p4oegyR
0pJaLh1FxRMnuVSN3VaKJW1zX9h+sg4=
=mjlL
-----END PGP SIGNATURE-----