Skip to content

$AutoArrayPacking

Status: Stable

documented, exercised by the test suite and/or worked examples, with no known limitations recorded.

Description

$AutoArrayPacking

controls whether Mathilda stores large lists of machine numbers as dense buffers (packed arrays). True by default; set it to False to build every list one element at a time.

Notes A packed list is an ordinary List -- same Head, printed form, elements, ordering and pattern matches -- and only NDArrayQ tells the two apart. So this changes storage and speed, not answers. Does not affect ToNDArray or ToPackedArray, which are explicit requests, nor the explicit NDArray\[...\] head. Reads back False in a session started with the environment variable MATHILDA\_NO\_PACK set. Only True or False is accepted.

Examples

No verified examples yet for this function.

Implementation notes

Attributes: none registered.

References