Mercurial > octave
view .editorconfig @ 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 | 640ee0d531d0 |
children |
line wrap: on
line source
root = true [*] charset = utf-8 end_of_line = lf indent_size = 2 indent_style = space insert_final_newline = true [*.{am,mk}] indent_size = tab indent_style = tab