Closed matthiasdiener closed 9 months ago
Based on https://github.com/inducer/pytato/pull/457#issuecomment-1725926293, immutabledict has a consistent iteration order (like dict, i.e. insertion order), and is likely faster than immutables.Map, especially for actually immutable dicts (see also the graph here).
immutabledict
dict
immutables.Map
Thanks!
Based on https://github.com/inducer/pytato/pull/457#issuecomment-1725926293,
immutabledict
has a consistent iteration order (likedict
, i.e. insertion order), and is likely faster thanimmutables.Map
, especially for actually immutable dicts (see also the graph here).