A running example of the code from:
- http://marcio.io/2015/07/handling-1-million-requests-per-minute-with-golang
- http://nesv.github.io/golang/2014/02/25/worker-queues-in-go.html
Small refactorings made to original code:
| from typing import Tuple | |
| class TrieNode(object): | |
| """ | |
| Our trie node implementation. Very basic. but does the job | |
| """ | |
| def __init__(self, char: str): | |
| self.char = char |
A running example of the code from:
Small refactorings made to original code: