• A
    proc/eval: optimize variable lookup (#925) · 222cf7fc
    Alessandro Arzilli 提交于
    Variable lookup is slow because it requires a full scan of debug_info
    to check for package variables, this doesn't matter much in interactive
    use but can slow down evaluation of breakpoint conditions
    significantly.
    
    Providing benchmark proof for this is hard since this effect doesn't
    show for small programs with small debug_info sections.
    222cf7fc
bininfo.go 15.1 KB