Cosmetic
Minor perf improvement
Cosmetic
Minor code cleanup
Less string concat
Faster string replace
Cosmetic
Improve the memoized cache by using LRU
Decorating smart_fill with memoize
Fix assert self._state == OPEN #2419
Cosmetic