angr.utils.dynamic_dictlist

class angr.utils.dynamic_dictlist.DynamicDictList

Bases: Generic

A list-like container class that internally uses dicts to store values when the number of values is less than the threshold LIST2DICT_THRESHOLD. Keys must be ints.

The default thresholds are determined according to experiments described at https://github.com/angr/angr/pull/3471#issuecomment-1236515950.

__init__(max_size=None, content=None)
Parameters:
list_content: list[VT] | None
max_size
dict_content: dict[int, VT] | None
real_length()
Return type:

int