Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cache get decoder class from string (#117)
* Moved the logic from obtaining a decoder class from a string to its own method. This allows caching, which greatly improves performance. * Added default maxsize arg to lru_cache for Python <3.8 compatibility * Revert the caching changes of get_decoder_class, instead cache convert_type_string and compile the regex for faster execution. * Revert the caching changes of get_decoder_class, instead cache convert_type_string and compile the regex for faster execution. * Okay, actually reverted the initial changes this time.
- Loading branch information