aboutsummaryrefslogtreecommitdiff
path: root/tests/bench/from_iter-2-list_unbound.py
AgeCommit message (Collapse)Author
2014-06-19bench: Add tests for constructing various containers from iterator.Paul Sokolovsky
Both "bound" (like, length known) and "unbound" (length unknown) are tested. All of list, tuple, bytes, bytesarray offer approximately the same performance, with "unbound" case being 30 times slower.