summaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/interpreterobjects.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-01-22 14:18:18 +0100
committerJussi Pakkanen <jussi.pakkanen@mailbox.org>2025-06-17 12:29:56 +0300
commitf3366a7e543f69844bd3658db65c28295912db79 (patch)
treec845b67716730a01ff7b7d3f3f7c30a50f679daa /mesonbuild/interpreter/interpreterobjects.py
parent992a93bcef47972c75464d1878c4c4b0469b1fbf (diff)
downloadmeson-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