On Wed, Dec 31, 2008 at 12:18 PM, felix winkelmann <[email protected]> wrote:
Sorry, wrong button... > > I have merged the "irregular" branch into trunk, so PCRE has now been > replaced with Alex' "irregex" regular expression package. That means, > SREs are now supported. > > I noticed that regex-compilation into internal representation is relatively > slow, so precompiling the regexes is quite important in those cases, i.e. > > (define (foo ...) > ... (string-match "regex" ...) ...) > > should be replaced with > > (define foo > (let ((rx (regexp "regex"))) > (lambda ... > This will make a noticable difference, if foo is called often. Anyway, this was quite a significant change, so be careful. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
