Update documentation.

This commit is contained in:
bakpakin 2016-03-06 18:20:18 -05:00
parent 08e5f13d85
commit d9c296dae6

View File

@ -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