diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-22 14:18:18 +0100 |
|---|---|---|
| committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-06-17 12:29:56 +0300 |
| commit | f3366a7e543f69844bd3658db65c28295912db79 (patch) | |
| tree | c845b67716730a01ff7b7d3f3f7c30a50f679daa /mesonbuild/interpreter/interpreterobjects.py | |
| parent | 992a93bcef47972c75464d1878c4c4b0469b1fbf (diff) | |
| download | meson-f3366a7e543f69844bd3658db65c28295912db79.tar.gz | |
interpreter: make trivial_operators per-class
Do not call update() and Enum.__hash__ a gazillion times; trivial
operators are the same for every instance of the class.
Introduce the infrastructure to build the MRO-resolved operators (so
the outcome same as if one called super().__init__) for each subclass
of InterpreterObject.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/interpreter/interpreterobjects.py')
0 files changed, 0 insertions, 0 deletions
