Commit 793e074
committed
Improves the performance of range dramatically
Calling seq on range produced a lazy sequence which
has significant overhead. Now we give Range -first
and -next properties, returning start and a new Range
respectively.
`last` is now more efficient on IIndexed collections1 parent 7dd29ae commit 793e074
1 file changed
Lines changed: 26 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
881 | | - | |
882 | | - | |
883 | | - | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
884 | 893 | | |
885 | 894 | | |
886 | 895 | | |
| |||
1911 | 1920 | | |
1912 | 1921 | | |
1913 | 1922 | | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
1914 | 1933 | | |
1915 | | - | |
1916 | | - | |
1917 | | - | |
1918 | | - | |
| 1934 | + | |
1919 | 1935 | | |
1920 | 1936 | | |
1921 | 1937 | | |
1922 | | - | |
| 1938 | + | |
| 1939 | + | |
1923 | 1940 | | |
1924 | 1941 | | |
1925 | | - | |
| 1942 | + | |
1926 | 1943 | | |
1927 | 1944 | | |
1928 | 1945 | | |
| |||
0 commit comments