[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
Hi,
I have the following ragel rule:
any* $(
Some_expensive_call(*p)
}
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.
Thanks,
Ming
-------------- 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