3 ms·
Sadly no, the code is in an Enterprise application and that part of the codebase is extremely unlikely to be open sourced. And getters add overhead because it
by Klathmon 9y ago
Sadly no, the code is in an Enterprise application and that part of the codebase is extremely unlikely to be open sourced.
And getters add overhead because it invokes a function which returns the actual value. Honestly it's not that much as the most JS engines are really good at optimizing that kind of stuff, but when it comes to typed arrays every bit counts, as their whole purpose is for the fast-path of code.
And simpler is almost always better.