tidy up listutils comments and imports

This commit is contained in:
Mahmoud Hashemi 2013-03-21 23:34:47 -07:00
parent 1bee54f45e
commit 93e610d0be
1 changed files with 2 additions and 6 deletions

View File

@ -12,10 +12,6 @@ except ImportError:
_MISSING = object()
# TODO: sorted version
# TODO: inherit from list
class BarrelList(list):
_size_factor = 1520
@ -263,8 +259,6 @@ def main():
bl3[:20:2] = range(0, -10, -1)
import pdb;pdb.set_trace()
from collections import defaultdict
import gc
_TUNE_SETUP = """\
@ -276,6 +270,8 @@ bl.extend(range(int(%s)))
def tune():
from collections import defaultdict
import gc
from timeit import timeit
data_size = 1e5
old_size_factor = size_factor = 512