1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 17:08:00 +02:00

Corlib fixes

This commit is contained in:
Brian Fiete 2020-02-05 17:07:47 -08:00
parent 45638a6e7e
commit 2ed6a9a94b
3 changed files with 7 additions and 45 deletions

View file

@ -274,31 +274,6 @@ namespace System.Collections.Generic
items[lo + curI - 1] = *dt;
}
private void InsertionSortZ(int lo, int hi)
{
int i, j;
T t;
T2 ti = ?;
for (i = lo; i < hi; i++)
{
j = i;
t = keys[i + 1];
//ti = (items != null) ? items[i + 1] : null;
if (items != null)
ti = items[i + 1];
while (j >= lo && comparer(t, keys[j]) < 0)
{
keys[j + 1] = keys[j];
if(items != null)
items[j + 1] = items[j];
j--;
}
keys[j + 1] = t;
if (items != null)
items[j + 1] = ti;
}
}
private void InsertionSort(int lo, int hi)
{
int i, j;