intrig / xenon

The Intrig Message Decoder
MIT License
1 stars 6 forks source link

Improved compile time #10

Closed wythe closed 8 years ago

wythe commented 8 years ago

Almost 3X Improvement in Compile Time!

Moved several functions that were defined in header files into the library. I updated the code generator that parses XDDL to also create a source file. I placed the code for spec loading, which was heavily laden with lambda functions, into the source file.

My performance analysis resulted in about a 2.7 times faster compilation of the tools and examples that used the xenon library.

Improved Bitstring API

Added bit_iterator to bitstring and updated its API to use it. This simplified things. If you were using one of the weird bitstring constructors then you may have a compiler error, otherwise things should work the same. See https://github.com/intrig/ict/pull/6 for details.