Beginning client Collection interfaces optimization w/ @StaticBindings
@StaticBindings Collections optimization arrays initialization 1st impl
Fix previous commit, erroneous '('
Save progress + defining new macros in .adl.h for _instance call of
collection arrays one-line definition+initialization (like
_INIT_INSTANCE for example)
First working implementation of @StaticBindings on collection ; however:
Tested only usual case. Not sure if internal interfaces would work
though. Server interfaces are not yet optimized (no RAM gain on this
side), and empty structures will exist (problem with IAR !) so the
Optimizer conditions should be reviewed and changed accordingly.
Moreover, IS_BOUND should be refined to use the new convention.
IS_BOUND_COLLECTION now supported. Quite hack-ish but functionally OK
Multiple enhancements (see description below):
1 - Improved empty structures detection in InternalDataOptimizer to take
care of optimized collections ;
2 - Moved prototypes generation to .inc files instead of _instances.c ;
3 - Various bug fixes that led non-regression tests to fail ;
TODO:
The SelfBinds collection tests family fail because of double prototypes
definition (in .inc now) because of standard server interfaces +
bindings destinations of optimized clients (= same server interfaces):
We need to code either an include guard or detect the case and decorate
nodes to avoid optimization prototype serialization.
Self-binding detection first implem / TODO: Remove custom tests / 3 err
Remove single-interface-plugin/.gitignore
Now handling non-collection to collection SELF-bindings (protection)
Just adding a newline to force Travis-CI to rebuild: The VM crashed
before even running our tests !!
Merge pull request #9 from StephaneSeyvoz/collection-sb

StaticBindings support for collections + GarbageUnusedInternals removed
Clean up brutally copied templates with propre other template reference
Merge pull request #4 from StephaneSeyvoz/master

update from ssz