- how does Python's built-in `endswith` using a tuple of suffixes rank against a trie-based alternative implementation? read the performance benchmarking using `timeit` and detailed analysis, including a concluding look at `endswith`'s cpython source code https://veryverbose.net/comparison-of-multi-endswith-in-python-four-ways/ 7 comments pythoncoding