Commit ab1f35fe authored by Steve Bennett's avatar Steve Bennett
Browse files

core: improvements to garbage collection



Don't look up every object in the command table, since it can be slow
to do that. Only lookup if the object looks like a reference.

Also, script and expression objects can't contain references that
aren't already contained in sub-objects, so there is no need to
scan them for references.

Signed-off-by: default avatarSteve Bennett <steveb@workware.net.au>
parent 165c05e3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment