Rewrite things like ns = [0, 999_999_999] to ns = [] (wildcard) before passing the pattern to Pattern_resolver.resolve (or handle it inside Pattern_resolver.resolve) to remove unnecessary performance penalty - very noticeable now since ns level pattern has been introduced.
Partially addressed: added optimisation pass during construction via Timere.pattern, but no further optimization is done during Timere.union right now.
Rewrite things like
ns = [0, 999_999_999]
tons = []
(wildcard) before passing the pattern toPattern_resolver.resolve
(or handle it insidePattern_resolver.resolve
) to remove unnecessary performance penalty - very noticeable now since ns level pattern has been introduced.