[jsinterp] Add short-cut evaluation for common expression
authordirkf <fieldhouse@gmx.net>
Thu, 11 May 2023 20:02:01 +0000 (21:02 +0100)
committerdirkf <fieldhouse@gmx.net>
Thu, 11 May 2023 20:02:01 +0000 (21:02 +0100)
commit6ed34338285f722d0da312ce0af3a15a077a3e2a
treeb56dd5131900e610a75436dfd2db83dae75aace7
parenta85a875fef2e9b097c3f6f93f1d0cead06f84e43
[jsinterp] Add short-cut evaluation for common expression
* special handling for (d%e.length+e.length)%e.length speeds up ~6%
youtube_dl/jsinterp.py