TLDR Web Dev · ARTICLES & TUTORIALS
SHRINKING VS CODE WITH NAME MANGLING
Summary from the TLDR Web Dev newsletter
VSCode was able to reduce their Javascript size by 20%, or 3.9MB, without actually doing any deleting or refactoring thanks to a new “name mangling” build step. This reduction not only means less code to download and store, but also improves startup time as less source code needs to be scanned before the JavaScript is run. This is a great read on how the VSCode team identified the technical problem and how they arrived at the solution.