I’ve just released version 0.75.1 of extensible-match.

This release contains no changes for users on Chez, but expansion performance 
on Guile is now hugely improved. It is likely now fast enough to be usable in 
real code.

Compiling and running the pattern matcher and its test suite (with around 200 
individual uses of ‘match’ and its friends) now takes only ~32 seconds on my 
somewhat underpowered personal server which runs the CI (Hetzner Ampere Altra 
vCPU). On my laptop (Apple M4) it’s around 10 seconds, of which about half is 
spent compiling and running the test suite vs the other half on compiling the 
pattern matcher itself.

(By comparison, in version 0.75 it took ~4m30s to compile and run the matcher 
and its test suite on my server. Expansion at the REPL now feels instantaneous, 
where previously even a simple match would take a noticeable amount of time to 
come back.)

Personally, I would no longer have any hesitation about using extensible-match 
in real Guile code.

Get it from <https://codeberg.org/dpk/extensible-match/archive/v0.75.1.tar.gz>.

Have fun,


Daphne


Reply via email to