• Another example is:

    exports.a=[1,2,3,....,100];
    exports.b=new Uint8Array([1,2,3,....,100]);
    

    So a minifies to be smaller, but in reality b uses drastically less memory, because it's not the definition that matters, but how much space it takes up once executed.

About

Avatar for Gordon @Gordon started