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

Rik <[email protected]> Wed, 29 Apr 2026 07:08:14 -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.

Update of bug #68091 (group octave):

                  Status:          Ready For Test => In Progress

    _______________________________________________________

Follow-up Comment #18:

Is there a way to check for the underlying class of *octave_int* OR does the
patch need to be recoded to be passing the underlying type down?

For example, instead of

template <typename T>
void
read_mat5_integer_data (std::istream& is, T *m, octave_idx_type count,
                        bool swap, mat5_data_type type)

should it be

void
read_mat5_integer_data (std::istream& is, octave_int<T> *m, octave_idx_type
count,
                        bool swap, mat5_data_type type)





    _______________________________________________________

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-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCafHmngAKCRCqLAuaBUf3
TigAAP4x0RNdhmxvah87kgizq8mdcveb4X6fv12WoiVayu/tHQD6A5Wh3wsINhqO
xy5BDM8L4E5HVm2xrOEoSDzmvx3u/wk=
=Pmku
-----END PGP SIGNATURE-----