summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-10-05 18:44:31 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-05 18:52:00 +0200
commit83bd6754776e8f3290c460feb28f261cffad6a9b (patch)
tree236fe3c0ee94d97c6c19cb1428c535edb3e5eb64 /README.md
parent19fc225b455957cf81d2038571a7f3713c01b555 (diff)
downloadserenity-83bd6754776e8f3290c460feb28f261cffad6a9b.zip
LibJS: Make WeakContainer pruning do less work
Instead of iterating *all* swept cells when pruning weak containers, only iterate the cells actually *in* the container. Also, instead of compiling a list of all swept cells, we can simply check the Cell::state() flag to know if something should be pruned.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions