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

remove tuple specialization of fix_kinds #266

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

jishnub
Copy link
Contributor

@jishnub jishnub commented Mar 8, 2023

This removes the fix_kinds method that evaluates to a Tuple. This was introduced in #253 as a constant-propagation hack, but it's unnecessary now, given that the value is stored as a field rather than as a type-parameter. Having the method uniformly return a Vector{Int32} will firstly reduce unnecessary compilation, and secondly make the type parameters more predictable. The result has to be materialized in any case to create the plan, so this doesn't add to allocations.

@codecov
Copy link

codecov bot commented Mar 8, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.25 ⚠️

Comparison is base (2dacf71) 69.47% compared to head (1ee5369) 69.23%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #266      +/-   ##
==========================================
- Coverage   69.47%   69.23%   -0.25%     
==========================================
  Files           5        5              
  Lines         498      494       -4     
==========================================
- Hits          346      342       -4     
  Misses        152      152              
Impacted Files Coverage Δ
src/fft.jl 66.75% <ø> (-0.34%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jishnub
Copy link
Contributor Author

jishnub commented Mar 28, 2023

Gentle bump @stevengj . This will be mildly breaking, but overall having this return the same type in all calls would significantly ease development.

@stevengj stevengj merged commit 82a99dc into JuliaMath:master Mar 28, 2023
@jishnub jishnub deleted the fix_kinds branch March 28, 2023 12:21
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.

None yet

2 participants