Lucas Bajolet

Results 5 issues of 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.

need_work
ok_to_test

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...

request_for_comments
Feature Request

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...

request_for_comments
Feature Request

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...

bug

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...

Feature Request