Lucas Bajolet
Lucas Bajolet
This PR changes the way `NativeArrays` are enlarged to avoid pre-allocating too much for small arrays. This is the same kind of optimization as on `FlatBuffer` for similar cases.
For performance purposes, small local objects are usually allocated on the stack to avoid putting pressure on the allocation mechanisms. In Nit however there is no such construction and all...
Static ifs are seldom used structures in some languages. C/C++'s `#if/#else` macros are some examples of such structures, so are D's [`static if`](https://dlang.org/spec/version.html) or their `debug`/`version`. Such structures are useful...
There seems to be an issue when dealing with instanciation of Nit objects from C code in some cases. For instance in this code: ``` nit redef class SDLSurface fun...
Hi, Sometimes, when dealing with extremely low-level issues and micro-optimization, we could use some more inlining to shave some more instructions from a function. It could go something like this...