Mercurial > octave
comparison etc/NEWS.9.md @ 32180:ca72944d16a5
NEWS.9.md: Update list of bug fixes and changes
NEWS.9.md: Added some recent bugs fixed on the default branch.
Mention VM and how to activate it.
Formatting fix on a long line.
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Fri, 07 Jul 2023 13:37:43 -0400 |
parents | 984bca088143 |
children | 85255746fc21 |
comparison
equal
deleted
inserted
replaced
32179:4b8df475bb5e | 32180:ca72944d16a5 |
---|---|
1 Summary of important user-visible changes for version 9 (yyyy-mm-dd): | 1 Summary of important user-visible changes for version 9 (yyyy-mm-dd): |
2 --------------------------------------------------------------------- | 2 --------------------------------------------------------------------- |
3 | 3 |
4 ### General improvements | 4 ### General improvements |
5 | |
6 - Octave now has an experimental virtual machine (VM) for just-in-time (JIT) | |
7 compilation of m-code. This VM can be enabled by the end user with the | |
8 command `__enable_vm_eval__ (1)` as long as the configuration option | |
9 `--disable-vm-evaluator` was *not* used when building Octave. Speedups from 2X | |
10 to 40X have been observed for different kinds of m-code. This feature is | |
11 considered experimental for now. M-code that cannot be handled by the VM yet | |
12 falls back automatically to the existing interpreter. | |
5 | 13 |
6 - `oruntests`: The current directory now changes to the directory | 14 - `oruntests`: The current directory now changes to the directory |
7 containing the files with the tests for the duration of the test. This | 15 containing the files with the tests for the duration of the test. This |
8 aligns the behavior of this function with Octave's test suite. This also | 16 aligns the behavior of this function with Octave's test suite. This also |
9 means that the file encoding specified in the `.oct-config` file for the | 17 means that the file encoding specified in the `.oct-config` file for the |
31 property now also affect the line width of the base marker. | 39 property now also affect the line width of the base marker. |
32 | 40 |
33 - The `inputParser` function has been re-architected for a 60% performance | 41 - The `inputParser` function has been re-architected for a 60% performance |
34 improvement. | 42 improvement. |
35 | 43 |
44 - The `perms` function has been made faster. | |
45 | |
36 ### Graphical User Interface | 46 ### Graphical User Interface |
37 | 47 |
38 ### Graphics backend | 48 ### Graphics backend |
39 | 49 |
40 * The FLTK backend is not maintained and its use is discouraged. The | 50 * The FLTK backend is not maintained and its use is discouraged. The |
66 (bug #63291). Both `median` and `mean` can handle large int values without | 76 (bug #63291). Both `median` and `mean` can handle large int values without |
67 overflow or precision concerns (bug #54567), and `mean` avoids errors due to | 77 overflow or precision concerns (bug #54567), and `mean` avoids errors due to |
68 limits of single precision by processing as doubles (bug #63848). `median` | 78 limits of single precision by processing as doubles (bug #63848). `median` |
69 has also adopted the 'outtype' option from `mean`. | 79 has also adopted the 'outtype' option from `mean`. |
70 | 80 |
81 - Code such as `A = ones (3, 3); A(:, :, 1) = []` is now Matlab-compatible. | |
82 | |
71 - `mad` function now produces Matlab compatible output using improved `mean` | 83 - `mad` function now produces Matlab compatible output using improved `mean` |
72 and `median` functions. 'vecdim' and 'all' options are now supported. `mad` | 84 and `median` functions. 'vecdim' and 'all' options are now supported. `mad` |
73 ignores all NaN values (using 'omitnan' mean/median option) and produces | 85 ignores all NaN values (using 'omitnan' mean/median option) and produces |
74 expected output behavior for empty inputs. | 86 expected output behavior for empty inputs. |
75 | 87 |
76 - `mode` now produces Matlab compatible output for empty inputs (bug #50583). | 88 - `mode` now produces Matlab compatible output for empty inputs (bug #50583). |
89 | |
90 - `linspace` and `logspace` now handle `inf` inputs in a Matlab-compatible way. | |
77 | 91 |
78 - `normalize` now produces Matlab compatible output for inputs containing NaN | 92 - `normalize` now produces Matlab compatible output for inputs containing NaN |
79 values (bug #50571). | 93 values (bug #50571). |
80 | 94 |
81 - `cov` now processes the input form cov(x,y) with two separate data arrays | 95 - `cov` now processes the input form cov(x,y) with two separate data arrays |
137 | 151 |
138 * The `all_ok(const Array<octave::idx_vector>&)` function in `Array-util.h` | 152 * The `all_ok(const Array<octave::idx_vector>&)` function in `Array-util.h` |
139 is obsolete and always returns true. Any uses can simply be removed from | 153 is obsolete and always returns true. Any uses can simply be removed from |
140 existing code with no loss of function. | 154 existing code with no loss of function. |
141 | 155 |
142 * The member variable `octave_base_value::count` is deprecated and will be removed from Octave 11. Replace all instances with the new name `m_count`. | 156 * The member variable `octave_base_value::count` is deprecated and will be |
157 removed from Octave 11. Replace all instances with the new name `m_count`. | |
143 | 158 |
144 The following features were deprecated in Octave 7 and have been removed | 159 The following features were deprecated in Octave 7 and have been removed |
145 from Octave 9. | 160 from Octave 9. |
146 | 161 |
147 - Functions | 162 - Functions |
187 Summary of bugs fixed for version 9.1.0 (yyyy-mm-dd): | 202 Summary of bugs fixed for version 9.1.0 (yyyy-mm-dd): |
188 ---------------------------------------------------- | 203 ---------------------------------------------------- |
189 | 204 |
190 - Bugfixes to `whos -file`, `urlread`, `mat2cell`, `set`. | 205 - Bugfixes to `whos -file`, `urlread`, `mat2cell`, `set`. |
191 | 206 |
192 - Memory usage reduced for `movfun` by eliminating temporary copies. | 207 - Better input validation for `sparse`, `speye`. |
208 | |
209 - Memory usage reduced for `movfun` and `movslice`. | |
193 | 210 |
194 - Memory usage reduced when saving to file, preventing OOM and data loss. | 211 - Memory usage reduced when saving to file, preventing OOM and data loss. |
212 | |
213 - Memory usage improved when plotting grid tick marks. | |
214 | |
215 - Text encoding for non-UTF-8 generally made more robust. File editor now | |
216 lists available encodings. | |
195 | 217 |
196 - Several race conditions removed in signal handler. | 218 - Several race conditions removed in signal handler. |
197 | 219 |
198 - Performance improvements: avoid unnecessary string construction, use | 220 - Performance improvements: avoid unnecessary string construction, use |
199 static casts instead of dynamic casts where possible. | 221 static casts instead of dynamic casts where possible. |