mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-12 21:32:52 +00:00
#3087: count every parameter a placeholder walks, and popup names by length
A definition of parameters that are not kept, shared by many instances, was walked again for each one without spending the budget; long popup item names were kept per instance with each item counted once.
This commit is contained in:
3 files changed
+45
-9
No files matched your search
+2
-1
@@ -333,7 +333,8 @@ parameter gets the file's value:
|
||||
pseudo effect's `Pseudo/0.25-0001`). Paths and arbitrary data are not kept; a popup whose
|
||||
definition is borrowed, or whose default slot holds no item, and that has no value record takes
|
||||
its first item (reported). One import keeps at
|
||||
most 200 000 placeholder parameters and popup items (a popup at most 1024 items); the rest is
|
||||
most 200 000 placeholder parameters and popup items (a popup at most 1024 items; parameters it
|
||||
does not keep count, and an item one more per 16 bytes of its name); the rest is
|
||||
reported, and once that is spent a later effect without a counterpart arrives without a
|
||||
placeholder (reported). A placeholder is still reported in `effects` and counted in
|
||||
`imported.placeholderEffects`; .aep export reports it and leaves it out.
|
||||
|
||||
Reference in new issue
Block a user