needle icon indicating copy to clipboard operation
needle copied to clipboard

Subdivide Pattern Interface

Open hyperpape opened this issue 3 years ago • 1 comments

The pattern interface supports three methods (matches, containedIn, find). When compiling to a Java class, each of these methods plays a role in the size of the class. Since the compiled class is often large, it might be desirable to allow compiling to a class which only supports match, or only supports match/containedIn. Probably supporting all 5 non-empty combinations of methods would be tedious and confusing.

hyperpape avatar Feb 15 '22 04:02 hyperpape

Not 5, 7. Sheesh.

hyperpape avatar Feb 16 '22 01:02 hyperpape