Skip to content

Remove unnecessary xref sorting on every query#25746

Open
trufae wants to merge 1 commit intomasterfrom
optimize/remove-xref-sorting
Open

Remove unnecessary xref sorting on every query#25746
trufae wants to merge 1 commit intomasterfrom
optimize/remove-xref-sorting

Conversation

@trufae
Copy link
Copy Markdown
Collaborator

@trufae trufae commented Apr 8, 2026

Summary

  • Remove RVecAnalRef_sort calls from r_anal_refs_get, r_anal_xrefs_get, and r_anal_xrefs_get_from
  • These were already marked // XXX not needed? and sorting on every query is wasteful

Test plan

  • Verify xref counts are identical to master on test binaries
  • Run r2r test suite

https://claude.ai/code/session_015tU8A23whE5bgreK4UoDNM

@trufae trufae force-pushed the optimize/remove-xref-sorting branch from a03c64c to ff08e8b Compare April 8, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants