Staging
v0.5.1
Revision 421416d1472eb1444190aeb3ee2714617b5e7c23 authored by Filip Roséen on 08 March 2016, 14:11:53 UTC, committed by Jean-Baptiste Kempf on 08 March 2016, 16:51:49 UTC
The EbmlTypeDispatcher is a type used to "dispatch" an object of type
EbmlElement* to an appropriate callback depending on the dynamic type of
the referred to object.

It can effectivelly replace the massive if-else branches found
throughout the module by not only making the code easier to understand
and maintain, but also by making it _a lot_ faster (benchmarks show a
speed increase between 450 and 700% in terms of lookup).
1 parent 155fbc6
History

back to top