Files
unicorn/bindings/python/unicorn
Daniel Roethlisberger e166cd93bb arm64 python: Avoid nested class in insn hook for 10x hook and 10% overall speedup (#2095)
* arm64 python: Avoid nested class in insn hook for 10x hook speedup

Promote CpReg to a module-level class to address unnecessary performance
reduction.  In a real-world use case tracing the emulation of real-world
machine code, this change reduces time spent in CpReg namedtuple
construction from 10% of overall time to below 1%, for a 10x speedup of
the insn hook itself, or a 10% overall speedup.  Measured using
cProfile, python 3.13.

* upgrade distro to 22.04

* revert to 22.04 for now

* also revert for wheels

---------

Co-authored-by: mio <mio@lazym.io>
2025-02-10 14:56:34 +08:00
..
2024-03-08 16:16:12 +08:00
2022-10-14 17:33:07 +02:00
2022-04-16 17:50:32 +02:00
2022-04-16 17:50:32 +02:00
2022-04-16 17:50:32 +02:00
2022-04-16 17:50:32 +02:00
2024-09-21 00:05:48 +03:00
2022-04-16 17:50:32 +02:00
2022-04-16 17:50:32 +02:00
2022-04-29 23:11:34 +02:00
2024-09-19 16:58:03 +03:00
2022-04-16 17:50:32 +02:00