mozilla/browserid — comment on commit a725d667e4ce537404006037d1d72a7c5fd6a1d7
File: resources/static/shared/renderer.js line 32
By shane-tomlinson:

@ozten - is the Gettext library expensive to create? Renderer is run for every tooltip, every screen, etc, and could become expensive. Could we create one instance on demand and cache it? EJS caches its templates internally, but I should probably do the same for each EJS instance.