python: add a sorted dictionary class
authorNathan Binkert <nate@binkert.org>
Wed, 21 Jul 2010 22:53:53 +0000 (15:53 -0700)
committerNathan Binkert <nate@binkert.org>
Wed, 21 Jul 2010 22:53:53 +0000 (15:53 -0700)
commit76c92c3e308c13b031dfa739d51f9f1f6917bd4b
tree0cfa6257c03cf9ba2ebca1479a6e4c66ce650b59
parent35184169179ad873b96bc99e5c9bdc4d3dd5ead6
python: add a sorted dictionary class
It would be nice if python had a tree class that would do this for real,
but since we don't, we'll just keep a sorted list of keys and update
it on demand.
src/python/SConscript
src/python/m5/util/__init__.py
src/python/m5/util/sorteddict.py [new file with mode: 0644]