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

Minor: Remove uneessary generics / macros from array_slice #8443

Closed
wants to merge 1 commit into from

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Dec 6, 2023

Which issue does this PR close?

Follow on to #8424 from @Weijun-H

Rationale for this change

I noticed after @Weijun-H changed array_slice from a macro to a function there was no need to have special versions of it for different types either.

What changes are included in this PR?

  1. Remove generics / macros that generate individual copies of functions for each list element type

Not only is this more code, I think it is now more general (it isn't restricted to lists of primitive types)

Are these changes tested?

Existing tests

Are there any user-facing changes?

@github-actions github-actions bot added the physical-expr Physical Expressions label Dec 6, 2023
@alamb alamb marked this pull request as ready for review December 6, 2023 21:30
@jayzhan211
Copy link
Contributor

jayzhan211 commented Dec 6, 2023

@alamb Please take a look on #8401 too, thanks

@alamb
Copy link
Contributor Author

alamb commented Dec 7, 2023

@alamb Please take a look on #8401 too, thanks

Closing in favor of #8401

@alamb alamb closed this Dec 7, 2023
@alamb
Copy link
Contributor Author

alamb commented Dec 7, 2023

Thanks @jayzhan211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physical-expr Physical Expressions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants