inducer / loopy

A code generator for array-based code on CPUs and GPUs
http://mathema.tician.de/software/loopy
MIT License
565 stars 71 forks source link

Switch immutables.Map and pyrsistent.PMap to constantdict #832

Open matthiasdiener opened 4 months ago

matthiasdiener commented 4 months ago

This currently a proof-of-concept.

Edit: I removed the previous performance results, they were likely caused by some kind of caching of kernels.

TODOs:

Please squash

matthiasdiener commented 4 months ago

This is ready for a first look @inducer. It will need a new pytools release for the CI.

inducer commented 3 months ago

Please don't remove the sorted() calls, FWIW.