Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

MaikKlein/pyro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pyro

A linear Entity Component System

LICENSE LICENSE Documentation Crates.io Version

Overview

Pyro is a tiny, fast and documented Entity Component System. It provides a basic features set as:

  • Iterating over entities and components
  • Adding and removing entities
  • Tracks which handles are valid

The intention is to have a minimal set of features that can be built upon.

Implementation details

  • Iteration is always linear.
  • Different component combinations live in a separate storage
  • Removing entities does not create holes.
  • All operations are designed to be used in bulk.
  • Borrow rules are enforced at runtime.
  • Entity is using a wrapping generational index.

Benchmarks

bench defense

ecs_bench

Releases

No releases published

Packages

No packages published

Languages