[RFC] Replacing our regex implementation

Lev Serebryakov lev at FreeBSD.org
Mon May 9 04:31:01 UTC 2011


Hello, Bakul.
You wrote 9 мая 2011 г., 5:17:09:

> As per the following URLs re2 is much faster than TRE (on the
> benchmarks they ran):

> http://lh3lh3.users.sourceforge.net/reb.shtml
> http://sljit.sourceforge.net/regex_perf.html
  re2 is much faster at price of memory. I don't remember details now,
but I've found (simple) situations when re2 consumes a HUGE amount of
memory (read: hundreds of megabytes). It work faster than tre, yes. If
you have this memory to RE engine alone.

-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-hackers mailing list