Commit Graph
283 Commits
Author SHA1 Message Date
mlemanczyk 7606bc302c Small cleanup 2023-08-05 00:23:47 +02:00
mlemanczyk 2d8b203bf6 RecyclableLongList.RemoveAt performance improvements. 2023-08-03 18:16:11 +02:00
mlemanczyk 1e5f963148 RecyclableLongList.CopyFollowingItems performance improvements. Benchmarks added. Tests cleanup & normalization. Before cleanup. 2023-08-03 01:50:09 +02:00
mlemanczyk 3e45295b2c Release 0.0.3.4-alpha 2023-07-16 15:35:01 +02:00
mlemanczyk 10189d0d11 RecyclableLongList.AddRangeWithKnownCount fixed for cases when both collections are empty. 2023-07-16 12:14:13 +02:00
mlemanczyk e53d6a134c RecyclableList.Insert performance improvement. Local variable removed. 2023-07-16 12:11:38 +02:00
mlemanczyk 303fb68907 RecyclableList.AddRangeEnumerated fixed to update _count before resizing the collection, because RecyclableListHelpers<T>.ResizeAndCopy() relies on it. 2023-07-16 11:55:54 +02:00
mlemanczyk 75ad8227c2 Tiny cleanup. Local var renamed to match other places. 2023-07-16 11:52:45 +02:00
mlemanczyk fc2335f5e4 RecyclableArrayPool<T> & OneSizeArrayPool converted to structs. 2023-07-15 17:58:12 +02:00
mlemanczyk 54b7320bcb Tiny cleanup. Unnecessary casting removed. 2023-07-15 17:38:31 +02:00
mlemanczyk 0b4ee0b39f Compilation error fixed. RecyclableDefaults.InitialCapacity added. 2023-07-15 17:12:33 +02:00
mlemanczyk 81f2c6d137 RecyclableList.AddRange fix to skip empty sources. 2023-07-15 16:44:51 +02:00
mlemanczyk 8242247436 RecyclableList.AddRange performance improvements. Local variable removed. 2023-07-15 16:42:33 +02:00
mlemanczyk f05d00e8d4 Tiny cleanup. Parameters renamed to be more descriptive. 2023-07-15 15:55:32 +02:00
mlemanczyk 17703618d4 Tiny performance improvements. Property replaced with field. 2023-07-15 15:52:44 +02:00
mlemanczyk ceffb90936 Small cleanup. RecyclableList.InitialCapacity moved to RecyclableDefaults. 2023-07-15 15:49:03 +02:00
mlemanczyk 1540d8e286 Fixed problem in RecyclableList.Helpers & RecyclableList causing an exception trying to copy too many items into the destination. 2023-07-15 15:45:09 +02:00
mlemanczyk 2f35cc7089 Cleanup. Unnecessary files removed. 2023-07-13 20:47:53 +02:00
mlemanczyk 1bc8f34436 RecyclableList.AddRange performance improvements. 2023-07-08 15:17:20 +02:00
mlemanczyk 93d4ddd9cb Initial RecyclableList.AddRange performance improvements. Before cleanup. 2023-07-08 14:54:24 +02:00
mlemanczyk a275c180a5 Tiny improvement. Added small protection against invalid state. 2023-07-08 14:51:49 +02:00
mlemanczyk 4da13cd9c1 Initial OneSizeArrayPool performance improvements. 2023-07-08 14:45:24 +02:00
mlemanczyk 5ee70abf93 Small performance improvement to benefit from .Net optimization for faster calls. 2023-07-08 14:28:36 +02:00
mlemanczyk fe77863bba RecyclableList.ResizeAndCopy moved back to RecyclableListHelpers. 2023-07-03 01:57:12 +02:00
mlemanczyk b1bcd8ea03 MemoryBucket & OneSizeArrayPool made sealed for better performance. 2023-07-03 01:26:14 +02:00
mlemanczyk c20b252a6c Cleanup. Hints and warnings either disabled or fixed. Typos fixed. 2023-07-01 17:07:16 +02:00
mlemanczyk 823141400a Tiny performance improvement based on RecyclableList<T> benchmarks. 2023-07-01 15:44:59 +02:00
mlemanczyk 391c72ee48 Cleanup. Comments & dead code removed. 2023-07-01 15:43:46 +02:00
mlemanczyk 845cf602dd Cleanup. const introduced for initial capacity. 2023-07-01 15:03:32 +02:00
mlemanczyk f23e9054e5 Cleanup. Commented out code removed. 2023-07-01 15:01:40 +02:00
mlemanczyk 748f206c39 Tiny cleanup. Unnecessary code removed. 2023-07-01 14:49:16 +02:00
mlemanczyk 9d9a8abd76 Cleanup. RecyclableLongList<T> static methods moved to RecyclableLongList<T>.Helpers. 2023-07-01 14:13:02 +02:00
mlemanczyk 8352575043 RecyclableLongList.Enumerator & .VersionedEnumerator will clear the current value only when it's reference type. Tiny cleanup. 2023-07-01 14:09:48 +02:00
mlemanczyk 55dd7ba078 RecyclableList.Capacity setter will now resize the array & update the version for enumerators. .Dispose will update the version to break enumerators. 2023-07-01 14:06:04 +02:00
mlemanczyk cded3ced65 RecyclableList destructor removed to improve performance. 2023-07-01 14:02:31 +02:00
mlemanczyk 224800d89a RecyclableList.Count & .LongCount made read-only 2023-07-01 13:59:59 +02:00
mlemanczyk e5c20a1aaa TODOs added 2023-07-01 13:54:44 +02:00
mlemanczyk e129e43863 Tiny cleanup. Comment updated. 2023-07-01 13:49:30 +02:00
mlemanczyk b9181eee23 RecyclableList.Resize performance improvements. We'll always initiate the list to 4 elements to eliminate branching along the way. Before cleanup. 2023-07-01 13:02:43 +02:00
mlemanczyk 11fd6e3dd0 RecyclableList<T>.Helpers renamed to RecyclableListHelpers and made top-level class for better performance. 2023-07-01 12:53:37 +02:00
mlemanczyk ba0d15cdcb Cleanup. RecyclableList static methods moved to RecyclableList.Helpers. 2023-06-29 13:35:12 +02:00
mlemanczyk 76dd62a5e2 RecyclableList.Clear functionality copied to .Dispose for better performance. 2023-06-28 23:15:53 +02:00
mlemanczyk 5fea2b44e4 Small performance improvement to avoid assignments if the list is empty. 2023-06-28 22:56:41 +02:00
mlemanczyk deb95a571c Tiny cleanup 2023-06-28 22:54:12 +02:00
mlemanczyk ba4fbbee98 Tiny cleanup. RecyclableList._defaultIsNull moved to RecyclableList.IList 2023-06-28 22:50:35 +02:00
mlemanczyk 8a10c52ef9 Cleanup. Protected methods & properties made private, where possible. 2023-06-26 00:19:09 +02:00
mlemanczyk b1b96fd05c Tiny cleanup 2023-06-26 00:08:05 +02:00
mlemanczyk 4f7af026f7 Small performance improvements to avoid repeated clearing of the buffers. 2023-06-25 23:58:46 +02:00
mlemanczyk 6b3b30fc12 Compilation error fix 2023-06-25 23:27:08 +02:00
mlemanczyk 6362c343db Tiny cleanup 2023-06-25 21:01:41 +02:00