StephaneSeyvoz/Optimization-Backend — pull request #9 by StephaneSeyvoz (2014-03-14 15:17:17+00:00)
Title: StaticBindings support for collections + GarbageUnusedInternals removed

Strategy consisted in creating functions pointers arrays outside the usual "internal_data" struct to avoid pointers dereferencing and offsets calculations, slowing performance.
We also remove the "is_bound" and "selfdata" informations to gain a few bytes at compile time.
The IS_BOUND_COLLECTION works and deals with our new custom generated functions pointers arrays.

We also removed the need for GarbageUnusedInternals and all collection/non-collection bindings (and reverse) should work. Server data arrays are NOT optimized yet, only on the client side.

This widens the scope of using @StaticBindings and simplify its use. However it is STILL restricted to @Singletons ONLY.