Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuhima03/yuh.collections
A .NET library that provides collection types and methods to search through a collection.
https://github.com/yuhima03/yuh.collections
collections csharp csharp-library deque dotnet dotnet-library searching-algorithms
Last synced: about 1 month ago
JSON representation
A .NET library that provides collection types and methods to search through a collection.
- Host: GitHub
- URL: https://github.com/yuhima03/yuh.collections
- Owner: YuHima03
- License: mit
- Created: 2024-01-28T08:06:36.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-14T03:35:28.000Z (4 months ago)
- Last Synced: 2024-10-12T14:21:28.391Z (about 1 month ago)
- Topics: collections, csharp, csharp-library, deque, dotnet, dotnet-library, searching-algorithms
- Language: C#
- Homepage: https://www.nuget.org/packages/Yuh.Collections
- Size: 212 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Yuh.Collections
## Overview
This library provides collection types including deque, and also provides methods to search through a collection.
## Features
### Advanced Collection Types
#### Deque
Deque (double-ended-queue) supports addition or removal of elements at the front or back of collection in constant time.
In other words, deque has features of both stack and queue.#### Collection Builder
Collection-builder is literally used to build collections such as array, list, string and so on.
Extension methods for `IEnumerable` perform little better than the collection-builder in this library, but the collection-builder supports merging `IEnumerable`s like `StringBuilder` class.### Aggressive Use of Span<T>
We actively use Span<T> or ReadOnlySpan<T> as a argument of methods or in internal implementations.
This enables functions to run faster and save memory.We also provide collection types that can be converted to Span<T> or ReadOnlySpan<T>.
## How to Install
To install this library into your projects, please visit [here](https://www.nuget.org/packages/Yuh.Collections) (NuGet) and install the NuGet package in the way you like.