mirror of
https://github.com/go-delve/delve.git
synced 2025-11-01 12:01:35 +08:00
Prefer binary search over tree lookup for FDEs
FDEs previously were loaded into a red/black tree and searched. This is significantly more expensive than a binary search over a slice. Not sure what I was thinking using a red/black tree - this binary search implementation is significantly more efficient.
This commit is contained in:
@ -27,7 +27,7 @@ type DebuggedProcess struct {
|
||||
Process *os.Process
|
||||
Dwarf *dwarf.Data
|
||||
GoSymTable *gosym.Table
|
||||
FrameEntries *frame.FrameDescriptionEntries
|
||||
FrameEntries frame.FrameDescriptionEntries
|
||||
HWBreakPoints [4]*BreakPoint
|
||||
BreakPoints map[uint64]*BreakPoint
|
||||
Threads map[int]*ThreadContext
|
||||
|
||||
Reference in New Issue
Block a user