Skip to content

Conversation

@JeffBezanson
Copy link
Member

This is not a type, so I don't think it should use TypeCase, and it isn't really tied to globals though that isn't so important. This also might move in the future so maybe we should use _allmethods? Or maybe methodtable (matching jl_method_table in C).

@JeffBezanson
Copy link
Member Author

Going further, I believe most/all uses of this are with Base.visit. Maybe we should have a stable API for that, e.g. visit_all_methods()?

@JeffBezanson JeffBezanson added the triage This should be discussed on a triage call label Jul 30, 2025
@LilithHafner
Copy link
Member

From triage: methodtable

  • It has the same name as C
  • It's the right capitalization

Not from triage: I think foreach instead of visit and make method table iteration follow the iteration protocol.

@JeffBezanson JeffBezanson removed the triage This should be discussed on a triage call label Jul 31, 2025
@JeffBezanson JeffBezanson changed the title rename GlobalMethods to allmethods 🚲 🏠 rename GlobalMethods to methodtable 🚲 🏠 Jul 31, 2025
@JeffBezanson JeffBezanson added the backport 1.12 Change should be backported to release-1.12 label Jul 31, 2025
@JeffBezanson JeffBezanson merged commit f9b7d27 into master Aug 1, 2025
9 checks passed
@JeffBezanson JeffBezanson deleted the jb/allmethods branch August 1, 2025 19:23
KristofferC pushed a commit that referenced this pull request Aug 6, 2025
@KristofferC KristofferC mentioned this pull request Aug 6, 2025
38 tasks
yuyichao added a commit to yuyichao/Enzyme.jl that referenced this pull request Aug 13, 2025
yuyichao added a commit to archlinuxcn/repo that referenced this pull request Aug 13, 2025
wsmoses pushed a commit to EnzymeAD/Enzyme.jl that referenced this pull request Aug 14, 2025
@KristofferC KristofferC removed the backport 1.12 Change should be backported to release-1.12 label Aug 19, 2025
KristofferC pushed a commit that referenced this pull request Sep 5, 2025
KristofferC pushed a commit that referenced this pull request Sep 15, 2025
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.

3 participants