adventOfCode/challenges/2021/10-syntaxScoring
AKU a60facbf55
2021-10 Py: switch to using collections.deque
By switching the lists I was using as stacks out with a deque, I
appear to have achieved a teeeensy speed improvement.

List `append()` and `pop()` methods have at most a O(n) time
complexity, where deques have a O(1) time complexity.

https://docs.python.org/3/library/collections.html#collections.deque

Signed-off-by: AKU <tom@tdpain.net>
2021-12-10 16:34:14 +00:00
..
py 2021-10 Py: switch to using collections.deque 2021-12-10 16:34:14 +00:00
benchmark.json 2021-10 Py: switch to using collections.deque 2021-12-10 16:34:14 +00:00
info.json Add 2021-10 in Python 2021-12-10 09:36:01 +00:00
README.md Add 2021-10 in Python 2021-12-10 09:36:01 +00:00