Release 0.0.6

This commit is contained in:
mlemanczyk committed 2023-10-08 21:28:43 +02:00
1 parent 2740a60b80
commit 0159042755
7 files changed
+12 -7

No files matched your search

+5 -5
View File
@@ -138,12 +138,12 @@
1. ✅ `Span<T>`
1. ✅ `T[]`
1. ✅ Release 0.0.5
1. ✅ Implement `List<T>` compatibility pack in `RecyclableList<T>`
1. ✅ Implement `List<T>` compatibility pack for `RecyclableList<T>`
1. ✅ Overflow review
1. ✅ Add type casting to `long` for `<<` & `>>` operations, where required
1. ✅ Make type castings `checked`, where required
1. 🅿️ Release 0.0.6
1. 🅿️ Implement `List<T>` compatibility pack in `RecyclableLongList<T>`
1. ✅ Release 0.0.6
1. 👉 Implement `List<T>` compatibility pack for `RecyclableLongList<T>`
1. 🅿️ Port `RecyclableLongList<T>` optimizations to `RecyclableList<T>`
1. `IndexOf` parallelization
1. 🅿️ Release 0.0.7
@@ -308,7 +308,7 @@
\
**Failing to do so WILL result in unpredictable behavior.**
### [Benchmark results](https://github.com/mlemanczyk/Recyclable.Collections/blob/main/Recyclable.Collections.Benchmarks/Results/Benchmarks.md#`IndexOf` Benchmarks)
### [Benchmark results](https://github.com/mlemanczyk/Recyclable.Collections/blob/main/Recyclable.Collections.Benchmarks/Results/Benchmarks.md)
## `RecyclableList<T>`
* Range: `int`
@@ -422,4 +422,4 @@ public void RecyclableListExample()
}
```
### [Benchmark results](https://github.com/mlemanczyk/Recyclable.Collections/blob/main/Recyclable.Collections.Benchmarks/Results/Benchmarks.md#`IndexOf` Benchmarks)
### [Benchmark results](https://github.com/mlemanczyk/Recyclable.Collections/blob/main/Recyclable.Collections.Benchmarks/Results/Benchmarks.md)
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageId>Recyclable.Collections</PackageId>
<PackageVersion>0.0.5</PackageVersion>
<PackageVersion>0.0.6</PackageVersion>
<Authors>Marek Lemańczyk</Authors>
<Company>N/A</Company>
<Product>Recyclable.Collections</Product>
@@ -17,7 +17,7 @@
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>Various performance improvements and fixes. All major .ToRecyclableList() &amp; .ToRecyclableLongList() variants added.</PackageReleaseNotes>
<PackageReleaseNotes>List&lt;T&gt; compatibility pack added for RecyclableList&lt;T&gt;. Various performance improvements and fixes.</PackageReleaseNotes>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
@@ -2,6 +2,7 @@
namespace Recyclable.Collections
{
[Obsolete("It'll be moved to Recyclable.Collections.Compatibility.List NuGet package in the next release.")]
public static class zRecyclableListCompatibilityListFind
{
public static bool Exists<T>(this RecyclableList<T> list, Predicate<T> match)
@@ -1,5 +1,6 @@
namespace Recyclable.Collections
{
[Obsolete("It'll be moved to Recyclable.Collections.Compatibility.List NuGet package in the next release.")]
public static class zRecyclableListCompatibilityListIndexOf
{
public static int IndexOf<T>(this RecyclableList<T> list, T item, int index) => list._count != 0
@@ -4,6 +4,7 @@ using System.Runtime.CompilerServices;
namespace Recyclable.Collections
{
[Obsolete("It'll be moved to Recyclable.Collections.Compatibility.List NuGet package in the next release.")]
public static class zRecyclableListCompatibilityListInsertRange
{
private static void InsertRangeEnumerated<T>(this RecyclableList<T> list, int index, IEnumerable<T> items, int growByCount)
@@ -5,6 +5,7 @@ using Recyclable.Collections.Pools;
namespace Recyclable.Collections
{
[Obsolete("It'll be moved to Recyclable.Collections.Compatibility.List NuGet package in the next release.")]
public static class zRecyclableListCompatibilityList
{
public static ReadOnlyCollection<T> AsReadOnly<T>(this RecyclableList<T> list) => new(list);
@@ -5,6 +5,7 @@ using Recyclable.Collections.Pools;
[assembly: InternalsVisibleTo("Recyclable.Collections.Benchmarks")]
[assembly: InternalsVisibleTo("Recyclable.CollectionsTests")]
[assembly: InternalsVisibleTo("Recyclable.Collections.Compatibility.List")]
namespace Recyclable.Collections
{