cdb488149f
- Compute and store local names locally when translating a body. It is a step towards separate JS generation and hopefully reduces memory usage. - Use stable mangled names for member names. Needed for separate JS generation. - Add `abstract class IrNamerBase` with just 3 abstract methods to simplify creating new IrNamer implementations. - Fix O(N^2) of findFreshName when it is called wtih the same name suggestion a lot of times. - Refactor NameTables initialisation: factor out some functions and use descriptive names. - Use StringBuilder in sanitizeName