Closed CanadaHonk closed 6 months ago
Search reference: // todo/perf: optimize !! (compiler/codegen.js)
// todo/perf: optimize !!
compiler/codegen.js
Instead of generating 2 falsy checks for each !, just use 1 truthy instead (also use forceTruthyMode = 'full').
!
forceTruthyMode = 'full'
Wahoo!
Search reference:
// todo/perf: optimize !!
(compiler/codegen.js
)Instead of generating 2 falsy checks for each
!
, just use 1 truthy instead (also useforceTruthyMode = 'full'
).