Terry Lambert <[EMAIL PROTECTED]> writes:

> That said, if you feel a moral imperative to save and load
> precompiled regular expressions. you can do it by serializing
> the structure contents to disk, and then reading them back in.

It'd be best to use Terry's single process idea, but if I was going to
do the precomiled thing, I'd consider finding a way to get those
structures translated into my programming language and compile it into
the binary.  (And there may be some way to leave it binary, depending on
your language.)  But with memory and disks being what they are today,
this scheme might not be worth the trouble.

Anybody know any languages that allow compile-time (and/or link-time)
computations using (most of?) the same language?  I've often desired the
feature.  (I suppose some preprocessor like m4 could handle some of it.)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to