[ragel-users] How to process a block of random sized data

Ming Fu Ming.Fu at esentire.com
Wed Oct 31 15:48:54 UTC 2018


I have the following ragel rule:

any* $(

However, I do not necessary have to make the some_expensive_call per input char, I can call some_less_expensive_call(*p, len) to be more efficient.
How do I figure out the len and adjust pe. Consider the input may not be in contiguous memory block.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20181031/ee25c361/attachment.html>

More information about the ragel-users mailing list