d4d1364628
"checked" added/removed, as applicable. Span converted to ReadOnlySpan, where possible. Calls to ReadOnlySpan/Span constructors converted to type-casting, where possible.
mlemanczyk2023-10-08 19:01:26 +02:00
39d63d1d65
<< protected with "checked", where needed.
mlemanczyk2023-10-07 14:04:33 +02:00
2ff1aab655
Revert "Support for custom boundaries implemented. v1 - will be reverted due to 5x slower performance."
mlemanczyk2023-09-17 13:15:17 +02:00
22d8593e1f
Support for custom boundaries implemented. v1 - will be reverted due to 5x slower performance.
mlemanczyk2023-09-17 13:12:16 +02:00
a315ff80d5
Unit tests extended. Missing .ToRecyclableList() & .ToRecyclableLongList() variants added. Support for all major interfaces finished. README.md updated.
mlemanczyk2023-09-10 17:42:08 +02:00
9cd2096783
RecyclableLongList.Enumerator restored as the issue was somewhere else.
mlemanczyk2023-09-10 12:28:29 +02:00
e941fdf8db
Unit tests extended. Various fixes. README.md updated.
mlemanczyk2023-09-09 18:19:28 +02:00
98347f0727
Tests reworked for better coverage & more targeted scenarios.
mlemanczyk2023-09-03 17:55:43 +02:00
1202225162
Tests reworked for better coverage & more targeted scenarios.
mlemanczyk2023-09-03 17:55:43 +02:00
aeb0ee23f1
.ToRecyclableList & .ToRecyclableLongList calls replaced with standard .Net collections for better stability.
mlemanczyk2023-09-03 17:16:46 +02:00
cb66a90a9c
Small cleanup. Duplicated tests removed.
mlemanczyk2023-09-03 16:54:18 +02:00
1e795f10eb
Calls to ContainInConsecutiveOrder replaced with Equal. The lists must have the same elements, in the same order and no additional elements.
mlemanczyk2023-09-03 16:40:28 +02:00
79bd17afad
Partial support for Array class added.
mlemanczyk2023-09-03 15:35:24 +02:00
e78d9bbc8a
growByCount parameter removed in RecyclableLongList.AddRangeEnumerated to avoid unnecessary too big allocations. It'll double the size of memory blocks array with each increase, instead.
mlemanczyk2023-09-03 15:27:43 +02:00
bb2f0e6d28
RecyclableListHelpers.ResizeAndCopy made independent from list count.
mlemanczyk2023-09-03 15:17:31 +02:00
fed4429f78
VS Code tasks.json fixed to build the entire solution. X-unit test settings adjusted for better performance.
mlemanczyk2023-09-03 14:52:35 +02:00
883e8b4eff
VS Code tasks.json fixed to build the entire solution. X-unit test settings adjusted for better performance.
mlemanczyk2023-09-03 14:52:35 +02:00
5a2ae1c261
RecyclableLongList.Remove & .RemoveAt fixed to correctly set _lastBlockWithData to -1, when we remove the last item.
mlemanczyk2023-08-05 19:18:13 +02:00
56ca83d128
.ToArray() calls removed or converted to recyclable types.
mlemanczyk2023-07-16 12:15:35 +02:00
10189d0d11
RecyclableLongList.AddRangeWithKnownCount fixed for cases when both collections are empty.
mlemanczyk2023-07-16 12:14:13 +02:00
e53d6a134c
RecyclableList.Insert performance improvement. Local variable removed.
mlemanczyk2023-07-16 12:11:38 +02:00
303fb68907
RecyclableList.AddRangeEnumerated fixed to update _count before resizing the collection, because RecyclableListHelpers<T>.ResizeAndCopy() relies on it.
mlemanczyk2023-07-16 11:55:54 +02:00
75ad8227c2
Tiny cleanup. Local var renamed to match other places.
mlemanczyk2023-07-16 11:52:45 +02:00
fc2335f5e4
RecyclableArrayPool<T> & OneSizeArrayPool converted to structs.
mlemanczyk2023-07-15 17:58:12 +02:00
ff4a4b6683
Fix to avoid exception when the target is smaller, if the no. of items on the list is smaller than capacity.
mlemanczyk2023-07-15 17:41:27 +02:00