680776f259
Performance improvement - Removing unneeded check. There is no case the new block count == current block count.
mlemanczyk2023-01-28 14:18:34 +01:00
1691f07fbe
RecyclableList.AddRange will only call EnsureCapacity, if there is a need for it. Small source code cleanup.
mlemanczyk2023-01-22 23:45:54 +01:00
7aec77e674
Recyclable list initializations fixed to pass the no. of items, not block size.
mlemanczyk2023-01-22 23:17:02 +01:00
f94e91c45d
RecyclableList.AddRange(IEnumerable) made similar in behavior / optimizations to RecyclableArrayList. Variables named made similar.
mlemanczyk2023-01-22 23:16:21 +01:00
7c78b6f87e
RecyclableArrayList variables names standardized a little with RecyclableList.
mlemanczyk2023-01-22 23:13:00 +01:00
576ac9ccfa
RecyclableList.RemoveBlock renamed to ReleaseBlock.
mlemanczyk2023-01-22 01:06:21 +01:00
b3380b1f35
Small cleanup. RecyclableCollectionsBenchmarks properties & fields moved to RecyclableCollectionsBenchmark.cs file.
mlemanczyk2023-01-21 20:02:00 +01:00
6ef79d2203
Solutions from RecyclableArreyList were copied to RecylableList. Initial version.
mlemanczyk2023-01-21 18:50:21 +01:00
f500f846ac
RecyclableArrayList.AddRange(IEnumerable<T>) performance improvements. ...WhenSourceIsIEnumerable benchmarks reworked to use real IEnumerable, which can't be typecasted to anything.
mlemanczyk2023-01-15 20:12:52 +01:00
bf2d966f28
RecyclableArrayList[int index] set performance improvement. Add marked for aggresive inlining.
mlemanczyk2023-01-15 17:49:18 +01:00
eded9ac372
RecyclableArrayList performance improvements. Count made explicit property, because IL didn't inline the value.
mlemanczyk2023-01-14 18:45:34 +01:00
880abd605e
RecyclableBlockList renamed to RecyclableArrayList for clarity. First set of optimizations and implementation.
mlemanczyk2023-01-11 21:21:42 +01:00
8147c4ecbf
Decoded on GetItem/SetItem performance. It's more stable & faster without them.
mlemanczyk2023-01-08 02:03:14 +01:00
28b52c555d
Constructors simpliefied. GetItem/SetItem replaced with direct field use for performance gain. SetNewLength optimized for 32-bit long arrays.
mlemanczyk2023-01-08 00:14:14 +01:00
93b8dc5317
Initial version of RecyclableBlockList implemented. Tests switched to xUnit in hope to avoid stability issues.
mlemanczyk2023-01-07 20:52:01 +01:00