RecyclableLongList.ConvertAll implemented.
This commit is contained in:
1 parent
1f7603fe08
commit
2012f51b6e
5 files changed
+63
-30
No files matched your search
@@ -40,13 +40,13 @@ namespace Recyclable.Collections.Compatibility.List.Benchmarks
|
||||
DoNothing.With(converted);
|
||||
}
|
||||
|
||||
// public void RecyclableLongList_ConvertAll()
|
||||
// {
|
||||
// var data = TestObjects;
|
||||
// var list = TestObjectsAsRecyclableLongList;
|
||||
// var dataCount = TestObjectCountForSlowMethods;
|
||||
// using RecyclableList<long> converted = list.ConvertAll(static (item) => (long)item);
|
||||
// DoNothing(converted);
|
||||
// }
|
||||
public void RecyclableLongList_ConvertAll()
|
||||
{
|
||||
var data = TestObjects;
|
||||
var list = TestObjectsAsRecyclableLongList;
|
||||
var dataCount = TestObjectCountForSlowMethods;
|
||||
using RecyclableLongList<long> converted = list.ConvertAll(static (item) => (long)item);
|
||||
DoNothing.With(converted);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user