Make the formula for this estimate more explicit

This commit is contained in:
Antoine Pitrou 2011-10-06 22:09:18 +02:00
parent 7c46da7993
commit f81ad6fa5a
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ class BaseStrTest:
# suffer for the list size. (Otherwise, it'd cost another 48 times
# size in bytes!) Nevertheless, a list of size takes
# 8*size bytes.
@bigmemtest(size=_2G + 5, memuse=10)
@bigmemtest(size=_2G + 5, memuse=2 * ascii_char_size + 8)
def test_split_large(self, size):
_ = self.from_latin1
s = _(' a') * size + _(' ')