Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Indentation code generation optimization.
This commit significantly optimizes usage of indentation (i.e., semantic whitespace) throughout code snippets dynamically generated by @beartype's type-checking code generator. Since strings are expensive to repeatedly generate, @beartype now internally caches and reuses frequently used indentation. In truth, this means nothing. But @leycec just *had* to do this to satisfy his aberrant OCD disorder. I swear! It isn't my fault! It's fast or it ain't @beartype. (*Ophthalmology or optimality!?*)
- Loading branch information