You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • The main thing minifying does over pretokenisation is shortening the variable names. It'll reduce memory usage a bit and in apps that use long variable names in tight loops it'll help with speed - I think someone mentioned around 10% speed boost.

    The problem we have is the minifier we have that runs nicely in the browser also doesn't appear to really be maintained any more and has issues (specifically it doesn't realise when an app uses a global variable like g and will rename local variables to also be called g). So it's why there are big danger signs by it - realistically if you enable it for all your apps, Bangle.js will break.

    Right now it's not something I'd recommend.

About

Avatar for Gordon @Gordon started