3 ms·
The problem with JIT compiled languages is compilation time is as critical as the performance of the compiled code. Using string length happens to be quicker th
by laumars 11y ago
The problem with JIT compiled languages is compilation time is as critical as the performance of the compiled code. Using string length happens to be quicker than producing ASTs. So while it is a dirty hack, it generally offers greater performance more often than not.