Skip to content

About

A high-performance, memory-efficient library of collections designed for game development, simulations, and other performance-critical applications.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

13 stars

Watchers

1 watching

Forks

Repository files navigation

SwiftCollections

SwiftCollections icon

Build Coverage NuGet License API Discord

SwiftCollections is an engine-agnostic .NET library for games, simulations, and tools that need control over storage, identity, and allocation. Use dense and sparse collections for packed iteration, generation-checked tickets for live objects, and pools to reuse storage across updates. Query 2D and 3D worlds with BVHs, spatial hashes, quadtrees, and octrees using caller-owned result buffers.

Install

Core collections and System.Numerics queries

  • Standard
    dotnet add package SwiftCollections
  • Lean
    dotnet add package SwiftCollections.Lean

Fixed-point spatial queries

  • Standard
    dotnet add package SwiftCollections.FixedMathSharp
  • Lean
    dotnet add package SwiftCollections.FixedMathSharp.Lean

Choose one profile per application. Standard includes MemoryPack. Lean keeps JSON and explicit state support without the MemoryPack runtime. The fixed-point companion brings in the matching core and FixedMathSharp packages. Both profiles target .NET Standard 2.1 and .NET 10.

Learn more

About

A high-performance, memory-efficient library of collections designed for game development, simulations, and other performance-critical applications.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

13 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Contributors

Languages