Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Foundations for boosting productiviy and writing clean, maintainable, allocation-free code in C# / Unity.

Notifications You must be signed in to change notification settings

GuuD/smooth.foundations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

smooth.foundations

Smooth.Foundations is an MIT licensed code package that provides basic classes for boosting programmer productivity and writing clean, maintainable, allocation-free code in Unity. The code is written in C# and very little is Unity specific; It can also be used on other .Net platforms.

Smooth.Foundations includes:

  • Smooth.Compare, a replacement for the System.Collections.Generic comparers that helps reduce runtime allocations and prevent JIT exceptions on AOT platforms.
  • Smooth.Slinq, a faster, allocation-free replacement for LINQ with increased functionality and a more robust API.
  • Algebraic structs like Option, Either<L, R>, Union <T1, T2, T3>, and Tuple<T1, ..., Tn>.
  • Pattern matching module based on David Arno's SuccincT
  • Generic pools with a delegate-based API.
  • Generic event helpers for creating and maintaining robust, type safe events backed by multicast delegates.
  • A disposal API for performing cleanup operations in a background thread during the rendering phase.
  • Methods for determining basic information about the runtime platform.
  • Other miscellaneous utilities.

About

Foundations for boosting productiviy and writing clean, maintainable, allocation-free code in C# / Unity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%