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

foreverallama <[email protected]>
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 #5, bug #68091 (group octave):

Yeah, that's a good point. At the very least, I think we can add a simple
check to speed up if save type and the actual datatype match.

if (sizeof (T) == size)
  {
    // stream directly to "data"
    if (swap && size > 1)
      // do swap
  }
else
  { existing code block }




    _______________________________________________________

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

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaaB0bwAKCRCqLAuaBUf3
TrxBAP4+HcihrguhfbjitJF4OiTxb7L/DP0ZorNpWQgcwgxfcAEA6UIPLG21h7Ks
/K15ocRbeeSowLRw3BuhhbgYSXEVPw8=
=lmcf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.