about summary refs log tree commit diff stats
path: root/res/chawan.html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-05 00:49:54 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-05 00:52:31 +0100
commite014d84ccbfedf4c844b46bb9443392e0d9817d7 (patch)
tree478185b67d31e24b82df8416205f780e61184817 /res/chawan.html
parenteca28b3857cc90a17be48e1c8826f6307cfd81a6 (diff)
downloadchawan-e014d84ccbfedf4c844b46bb9443392e0d9817d7.tar.gz
quickjs: improve can_destroy hook
Use a separate list for tracking potential can_destroy targets.
This lets us skip unnecessarily calling can_destroy for non-platform
objects, and gets rid of exponential complexity in the loop.
Diffstat (limited to 'res/chawan.html')
0 files changed, 0 insertions, 0 deletions