Cache head constructor in PatStack

Since the constructor is recomputed a lot, caching is worth it.
This commit is contained in:
Nadrieril 2020-10-23 22:49:26 +01:00
parent 833089fbc9
commit 1190e7275c
2 changed files with 63 additions and 68 deletions

View file

@ -9,6 +9,7 @@
#![feature(control_flow_enum)]
#![feature(crate_visibility_modifier)]
#![feature(bool_to_option)]
#![feature(once_cell)]
#![feature(or_patterns)]
#![recursion_limit = "256"]