Mercurial > octave
view CITATION @ 33290:1077e4739169
assert.m: Preallocate string for pretty printing
The string being used for pretty printing assertion failures was being grown
sequentially. In certain cases such as the BISTs for `conv2`, printing known
failures was taking several minutes, especially when compiled without compiler
optimization flags. This patch uses preallocation, leading to some 7x to 14x
speedup. See https://octave.discourse.group/t/conv2-test-time-rather-long/5446/9
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Tue, 02 Apr 2024 12:53:50 -0400 |
parents | ebaa3582e140 |
children | f7f956555e4a |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2024). GNU Octave version 9.1.0 manual: a high-level interactive language for numerical computations. URL https://www.gnu.org/software/octave/doc/v9.1.0/ A BibTeX entry for LaTeX users is: @manual{, title = {{GNU Octave} version 9.1.0 manual: a high-level interactive language for numerical computations}, author = {John W. Eaton and David Bateman and S{\o}ren Hauberg and Rik Wehbring}, year = {2024}, url = {https://www.gnu.org/software/octave/doc/v9.1.0/}, } We have invested a lot of time and effort in creating GNU Octave, please cite it when using it. See also 'citation pkgname' for citing Octave packages.