Mercurial > octave
view .dir-locals.el @ 30224:8670f5165430
use distinct classes for interleaved and separate numeric mxarray objects
This change is the first step to improving performance of the
conversion from numeric mxArray objects to octave_value objects when
the mxArray objects use interleaved complex storage or when the
arrays are real valued.
* mex.cc (class mxArray_base_full): Rename from mxArray_number.
(class mxArray_interleaved_full, class mxArray_separate_full):
New classes, derived from mxArray_base_full. These classes currently
do nothing different from mxArray_base_full except that the
interleaved argument is omitted from the constructors.
(class mxArray_base_sparse): Rename from mxArray_sparse.
(class mxArray_interleaved_sparse, class mxArray_separate_sparse):
New classes, derived from mxArray_base_sparse. These classes
currently do nothing different from mxArray_base_sparse except that
the interleaved argument is omitted from the constructors.
(mxArray::create_rep): Conditionally create distinct interleaved or
separate objects here.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 29 Sep 2021 16:25:10 -0400 |
parents | df203b20cfc6 |
children |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))