As part of a protocol application, Codec is very important for system performance. Usually, it costs about 40% to 60% of the CPU resource.
A typical way used by the ABNF parser is string comparison and parsing by group, scanning 2 or 3 times. Using Juphoon character set management mechanism, the ABNF parser needs to scan only once and thus makes the Codec efficiency 3 to 9 times higher than most of the third party protocol stacks.
|