Files
clang-p2996/mlir/lib/Bindings/Python/IRModule.h
Peter Hawkins e30b703060 [mlir:python] Construct PyOperation objects in-place on the Python heap. (#123813)
Currently we make two memory allocations for each PyOperation: a Python
object, and the PyOperation class itself. With some care we can allocate
the PyOperation inline inside the Python object, saving us a malloc()
call per object and perhaps improving cache locality.
2025-01-22 06:26:44 -08:00

50 KiB