diff options
author | Steve Bennett <steveb@workware.net.au> | 2020-06-07 08:48:10 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2020-06-11 18:45:21 +1000 |
commit | ab1f35fe2502cf746ac2907c3ab710a0ca2f0b6b (patch) | |
tree | 21bc92b3fdc2d1a837159174004c78840c207a55 /.gitignore | |
parent | 165c05e397d1a26f04808834257752a133ff4f70 (diff) | |
download | jimtcl-ab1f35fe2502cf746ac2907c3ab710a0ca2f0b6b.zip jimtcl-ab1f35fe2502cf746ac2907c3ab710a0ca2f0b6b.tar.gz jimtcl-ab1f35fe2502cf746ac2907c3ab710a0ca2f0b6b.tar.bz2 |
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: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions