diff options
Diffstat (limited to 'miasm2/core/bin_stream.py')
| -rw-r--r-- | miasm2/core/bin_stream.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/miasm2/core/bin_stream.py b/miasm2/core/bin_stream.py index 074290af..cfcdf8a5 100644 --- a/miasm2/core/bin_stream.py +++ b/miasm2/core/bin_stream.py @@ -16,7 +16,6 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # import math -from miasm2.core.utils import BoundedDict class bin_stream(object): @@ -40,7 +39,7 @@ class bin_stream(object): """Enter atomic mode. In this mode, read may be cached""" assert not self._atomic_mode self._atomic_mode = True - self._cache = BoundedDict(self.CACHE_SIZE) + self._cache = {} def leave_atomic_mode(self): """Leave atomic mode""" |