mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
50be32e71d
slotCount() is O(n) on BlockObjects, so that, when used from a loop, those assertions brought about quadratic behavior. The test creates 'let' blocks with thousands of bindings, making the quadratic behavior show. The assertions are unnecessary, as getSlotRef and setSlot do their own bounds checking. I believe the test can be just as effective with smaller 'let' blocks. |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
ipc | ||
jsd | ||
public | ||
src | ||
xpconnect |