summaryrefslogtreecommitdiffstats
path: root/Lib/cmd.py
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-03-23 19:41:34 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-03-23 19:41:34 (GMT)
commit3a204a7e481883d277f7c093fabf9632746571d7 (patch)
tree41dd93602799aa240ff7228b6c9deb350fdf2ac0 /Lib/cmd.py
parentddea208be9e2a8fa281e25ebbc890378dd2aa286 (diff)
downloadcpython-3a204a7e481883d277f7c093fabf9632746571d7.zip
cpython-3a204a7e481883d277f7c093fabf9632746571d7.tar.gz
cpython-3a204a7e481883d277f7c093fabf9632746571d7.tar.bz2
Grow the string buffer at a mildly exponential rate for the getc version
of get_line. This makes test_bufio finish in 1.7 seconds instead of 57 seconds on my machine (with Py_DEBUG defined). Also, rename the local variables n1 and n2 to used_v_size and total_v_size.
Diffstat (limited to 'Lib/cmd.py')
0 files changed, 0 insertions, 0 deletions