mirror of
https://github.com/Hopiu/django.git
synced 2026-03-27 19:30:24 +00:00
pop(0), which is used to fetch each token, is O(n) in the length of the list. By reversing the list and operating off the end, we can perform next_token(), prepend_token(), and delete_first_token() in constant time. |
||
|---|---|---|
| .. | ||
| backends | ||
| loaders | ||
| __init__.py | ||
| base.py | ||
| context.py | ||
| context_processors.py | ||
| defaultfilters.py | ||
| defaulttags.py | ||
| engine.py | ||
| exceptions.py | ||
| library.py | ||
| loader.py | ||
| loader_tags.py | ||
| response.py | ||
| smartif.py | ||
| utils.py | ||