Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from __future__ import print_function
- import resource
- from BTrees.IOBTree import IOBTree
- quasi_index = IOBTree()
- print(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss)
- for i in xrange(10000000):
- quasi_index[i] = False
- print(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement