commit | c6e55068cad6f2178981eec4f0a0a583b8bba21a | [log] [tgz] |
---|---|---|
author | Thomas Wouters <thomas@python.org> | Sat Apr 15 21:47:09 2006 +0000 |
committer | Thomas Wouters <thomas@python.org> | Sat Apr 15 21:47:09 2006 +0000 |
tree | 19a89bbe082dadc70c1413030e5a5b8dacac757c | |
parent | 447d095976fd532bf1882bf7afeb52473ff8673c [diff] |
Use Py_VISIT in all tp_traverse methods, instead of traversing manually or using a custom, nearly-identical macro. This probably changes how some of these functions are compiled, which may result in fractionally slower (or faster) execution. Considering the nature of traversal, visiting much of the address space in unpredictable patterns, I'd argue the code readability and maintainability is well worth it ;P