• X
    Eval frame speedup (#53969) · 9fb22293
    xiongkun 提交于
    * [Dy2static-Fallback] add set_eval_frame function in pybind.
    1. add set_eval_frame function in pybind.
    
    * add unittest for eval frame hooker.
    
    * [support py38]
    
    * fix-GeneratorExit error in eval frame hooker
    
    * support python == 3.9
    
    * support 3.10
    
    * fix some comments
    
    * speed up eval frame for cache hitted code.
    
    * code format
    
    * fix unittest
    
    ---------
    Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
    9fb22293
jit.cc 10.0 KB