mirror of
https://github.com/bakpakin/tiny-ecs.git
synced 2024-11-17 04:44:23 +00:00
Update documentation.
This commit is contained in:
parent
08e5f13d85
commit
d9c296dae6
8
tiny.lua
8
tiny.lua
@ -258,6 +258,14 @@ end
|
|||||||
-- in the next update, if it has one. This is usually managed by tiny-ecs, so
|
-- in the next update, if it has one. This is usually managed by tiny-ecs, so
|
||||||
-- users should mostly ignore this, too.
|
-- users should mostly ignore this, too.
|
||||||
--
|
--
|
||||||
|
-- There is another option to (hopefully) increase performance in systems that have
|
||||||
|
-- items added to or removed from them often, and have lots of entities in them.
|
||||||
|
-- Setting the `nocache' field of the system might improve performance. It is still
|
||||||
|
-- experimental. There are some restriction to systems without caching, however.
|
||||||
|
-- * There is no `entities` table.
|
||||||
|
-- * Callbacks such onAdd, onRemove, and onModify will never be called
|
||||||
|
-- * Noncached systems cannot be sorted (There is no entities list to sort).
|
||||||
|
--
|
||||||
-- @section System
|
-- @section System
|
||||||
|
|
||||||
-- Use an empty table as a key for identifying Systems. Any table that contains
|
-- Use an empty table as a key for identifying Systems. Any table that contains
|
||||||
|
Loading…
Reference in New Issue
Block a user