diff options
author | bptato <nincsnevem662@gmail.com> | 2023-12-05 00:49:54 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-12-05 00:52:31 +0100 |
commit | e014d84ccbfedf4c844b46bb9443392e0d9817d7 (patch) | |
tree | 478185b67d31e24b82df8416205f780e61184817 /UNLICENSE | |
parent | eca28b3857cc90a17be48e1c8826f6307cfd81a6 (diff) | |
download | chawan-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 'UNLICENSE')
0 files changed, 0 insertions, 0 deletions