Skip to content

Conversation

@bartgol
Copy link
Contributor

@bartgol bartgol commented Oct 22, 2025

Motivation

I randomly came across this fcn and randomly thought of a way to greatly simplify its implementation. Furthermore, it can now also be used to pack a view of scalars, while the original impl of repack required the input view's value type to already be a Pack.

Testing

No further testing needed.

jgfouca
jgfouca previously approved these changes Oct 22, 2025
Copy link
Member

@jgfouca jgfouca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Way smaller! Looks gtm

tcclevenger
tcclevenger previously approved these changes Oct 22, 2025
Copy link
Contributor

@tcclevenger tcclevenger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@bartgol bartgol dismissed stale reviews from tcclevenger and jgfouca via 4f1e2a7 October 22, 2025 21:23
@bartgol bartgol merged commit 32e4b80 into master Oct 23, 2025
4 checks passed
@bartgol bartgol deleted the bartgol/repack-simplification branch October 23, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants