On Thursday 01 March 2012 15:35:17 Marek Lindner wrote:
The packet handler array replaces the growing switch statement,
thus dealing with incoming packets in a more efficient way.
Usually (there are corner cases) the compiler tries to build such kind of jump table from a large switch block. So be careful with this statement.
It also adds to possibility to register packet handlers on the fly.
This is true.
Only scrolled over the patch and it looks like the thing we discussed :)
Kind regards, Sven