Skip to content

Commit

Permalink
Fix docstring for bitPool (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlange-42 authored Nov 11, 2024
1 parent a3d0130 commit ca9010a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ecs/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ func (p *entityPool) Available() int {
return int(p.available)
}

// bitPool is an entityPool implementation using implicit linked lists.
// bitPool is a pool of bits that makes it possible to obtain an un-set bit,
// and to recycle that bit for later use.
// This implementation uses an implicit list.
type bitPool struct {
length uint16
bits [MaskTotalBits]uint8
Expand Down

0 comments on commit ca9010a

Please sign in to comment.