4 ms·
Would the same library generate the same jitcode on different websites? Does how the library is used account for this. At a high level, if I never used jQuery a
by varikin 14y ago
Would the same library generate the same jitcode on different websites? Does how the library is used account for this. At a high level, if I never used jQuery animation code on my site, but another site does, with the same jQuery version, would the jitcode for my site have removed the unnecessary animation stuff?
- bzbarsky 14y ago> Would the same library generate the same jitcode on different websites? No. The jitcode is specialized based on actual observed types, so depending on how you call the methods you get different jitcode.