You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In visit_type_inline.h we have a VisitType that dispatches all existing data types to a generic callable (presumably a lambda or template function).
It would be useful to have a similar VisitIntegerType helper that assumes its input is an integer type. This would help implementing helpers for dictionary indices, take indices, etc.
For example this snippet could be reimplemented more tersely using said helper:
Activity
pitrou commentedon Jul 22, 2026
@tadeja
pitrou commentedon Jul 22, 2026
And we can similarly want a
VisitRunEndTypethat dispatches over all 3 supported run-end types: INT16, INT32, INT64.pitrou commentedon Jul 22, 2026
Also @goel-skd
goel-skd commentedon Jul 22, 2026
I can take it along with my current work. Will look at it in a couple of days
goel-skd commentedon Jul 23, 2026
take
goel-skd commentedon Aug 3, 2026
@VedantRalekar - I am actively working on this.
pitrou commentedon Oct 27, 2026
@goel-skd Are you still working on this?
Judging by #52469, this would still be useful, for example to reduce:
into something like:
Also cc @taepper
goel-skd commentedon Oct 27, 2026
Yes. Will submit a patch soon.
taepper commentedon Oct 28, 2026
Great, happy to take a look once submitted :)