inducer / pytato

Lazily evaluated arrays in Python
Other
8 stars 16 forks source link

replace immutables.Map with immutabledict #461

Closed matthiasdiener closed 9 months ago

matthiasdiener commented 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).

inducer commented 9 months ago

Thanks!