Repository navigation
Commit ee98cc8
[perf] loadbj: a big payload skips the run tables and the whole-buffer string mask
In Octave, the jump tables are not built when typed arrays fill most of the buffer (their
payload is stepped over at once), and the string bytes are gathered by run expansion when they
are a small part of it. A 32 MiB zlib-compressed array: 0.57 -> 0.21 s (the original: 0.20 s).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 79cee3f commit ee98cc8
1 file changed
Lines changed: 42 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1453 | 1453 | | |
1454 | 1454 | | |
1455 | 1455 | | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
1456 | 1478 | | |
1457 | 1479 | | |
1458 | 1480 | | |
| |||
1734 | 1756 | | |
1735 | 1757 | | |
1736 | 1758 | | |
1737 | | - | |
1738 | | - | |
1739 | | - | |
1740 | | - | |
1741 | | - | |
1742 | | - | |
1743 | | - | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
1744 | 1779 | | |
1745 | 1780 | | |
1746 | 1781 | | |
| |||
0 commit comments