Commit 99430aa
Revert "unpack-trees: improve performance of next_cache_entry"
This reverts commit f2a454e (unpack-trees: improve performance of
next_cache_entry, 2021-11-29).
The "hint" value was originally needed to improve performance in 'git reset
-- <pathspec>' caused by 'cache_bottom' lagging behind its correct value
when using a sparse index. The 'cache_bottom' tracking has since been
corrected, removing the need for an additional "pseudo-cache_bottom"
tracking variable.
Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent bfc763d commit 99430aa
1 file changed
+6
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
| 647 | + | |
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | 652 | | |
656 | 653 | | |
657 | | - | |
658 | | - | |
| 654 | + | |
659 | 655 | | |
660 | | - | |
661 | 656 | | |
662 | 657 | | |
663 | | - | |
664 | | - | |
665 | 658 | | |
666 | 659 | | |
667 | 660 | | |
| |||
1409 | 1402 | | |
1410 | 1403 | | |
1411 | 1404 | | |
1412 | | - | |
1413 | 1405 | | |
1414 | 1406 | | |
1415 | 1407 | | |
1416 | 1408 | | |
1417 | 1409 | | |
1418 | | - | |
| 1410 | + | |
1419 | 1411 | | |
1420 | 1412 | | |
1421 | 1413 | | |
| |||
1777 | 1769 | | |
1778 | 1770 | | |
1779 | 1771 | | |
1780 | | - | |
| 1772 | + | |
1781 | 1773 | | |
1782 | 1774 | | |
1783 | 1775 | | |
| |||
1869 | 1861 | | |
1870 | 1862 | | |
1871 | 1863 | | |
1872 | | - | |
1873 | | - | |
1874 | 1864 | | |
1875 | 1865 | | |
1876 | 1866 | | |
1877 | 1867 | | |
1878 | 1868 | | |
1879 | 1869 | | |
1880 | | - | |
| 1870 | + | |
1881 | 1871 | | |
1882 | 1872 | | |
1883 | 1873 | | |
| |||
1898 | 1888 | | |
1899 | 1889 | | |
1900 | 1890 | | |
1901 | | - | |
1902 | 1891 | | |
1903 | | - | |
| 1892 | + | |
1904 | 1893 | | |
1905 | 1894 | | |
1906 | 1895 | | |
| |||
0 commit comments