[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wildcard match like comparison in ocaml

There's quite a few out there. You could grab the one locally in Mirage, which 
is currently specialised for DNS lookups (a 256-way one)

Alternatively, there's a general one here:

Both are pretty small so you should be able to customise/tweak them as needed...


On 11 Nov 2011, at 09:35, Haris Rotsos wrote:

> Hi all,
> I have a quick question regarding pattern matching in ocaml. I am
> interested for a module that can perform multiple wildcarded pattern
> matches in parallel in an efficient way. In routers a mechanism to
> achieve such functionality is to use a trie structure or a tcam. Are
> you aware of any readily available modules in ocaml that implements
> such fucntionality.
> thanks in advance for tips/pointers,
> -- 
> Charalampos Rotsos
> PhD student
> The University of Cambridge
> Computer Laboratory
> William Gates Building
> JJ Thomson Avenue
> Cambridge
> CB3 0FD
> Phone: +44-(0) 1223 767032
> Email: cr409@xxxxxxxxxxxx



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.