pkg/dwarf/line: improve performance
1. Use a slice instead of a map to access standard and extended opcodes (reduces BenchmarkStateMachine from ~12ms/op to ~7ms/op) 2. Cache StateMachine values for the entry point of functions.
Showing
文件已添加
想要评论请 注册 或 登录