Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.