wavesoft/jbb

Embed used-only profile objects

Opened this issue · 0 comments

In order to simplify decoding/parsing process even further, it might be a good idea to embed the decoding instructions in the bundle itself.

It looks that even in the worst case (three.js profile, everything included) is not bigger than 2Kb. If only the used parts are embedded, including an optimised way of representing the structures, it should't be more than 1kb overhead to the bundle.