Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the performance of the PC <-> Line/Column lookups in the debugger #217

Open
github-actions bot opened this issue Jun 16, 2024 · 0 comments
Open

Comments

@github-actions
Copy link

  • Should probably cache the lookup more
  • See also the function that translates the other direction

Line: 29

.map(|(_, f)| f)?;
// Then the matching line
// TODO: Improve the performance of the PC <-> Line/Column lookups in the debugger
// category=Debugging
// - Should probably cache the lookup more
// - See also the function that translates the other direction
let lookup = LineColLookup::new(debug_info.original_input.as_str());
debug_info
.program_to_input_offset_mapping
.get(&pc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants