Commit 5abf86b
committed
Make verbose parameter default more robust for Julia LTS
Changed the default value of `verbose` from `true` to `LinearVerbosity()`
to ensure type stability across all Julia versions without relying on
constant propagation hints like `@constprop :aggressive`.
This approach:
- Works robustly on Julia LTS (1.10.x) and newer versions
- Doesn't depend on compiler optimization hints
- The default value is already the concrete type we want
- Maintains full backward compatibility (still accepts Bool, Preset, etc.)
The verbose processing logic was reordered to check for LinearVerbosity
first (the common case) for optimal performance.1 parent c4ce1de commit 5abf86b
1 file changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
328 | 334 | | |
329 | 335 | | |
330 | 336 | | |
| |||
333 | 339 | | |
334 | 340 | | |
335 | 341 | | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | 342 | | |
| 343 | + | |
340 | 344 | | |
341 | 345 | | |
342 | 346 | | |
| |||
0 commit comments