Skip to content

Arche v0.3.0

Compare
Choose a tag to compare
@mlange-42 mlange-42 released this 10 Feb 14:39
· 610 commits to main since this release

⛑️ Type-safe Queries etc. via generic functions and types ⛑️

Features

  • Added a layer of generic access as alternative for using component IDs, for type safety and ergonomics (#47, #48)
    • Generic queries like Query1[T], Query2[T, U], ... (#47)
    • Generic add, assign and remove (Add[T](), Add2[T, U](), ...) (#47)
    • Generic get, has, and set through component mapper Map[T] (#47)

Other

  • Use of an archetype graph to speed up finding the target archetype for component addition/removal (#42)
  • Reduced dependencies by moving profiling and benchmarking to sub-modules (#46)
  • Smaller integer type for component identifiers (#47)
  • Minor optimization of component access by queries (#50)