We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
foldxt
Filed in JuliaFolds/Transducers.jl#569 by @atbug
const grid = [[i, j] for i in -4:4, j in -4:4] foldxt(+, Map(i -> grid[i]), 1:length(grid)) seems to be type unstable, while foldl works well.
const grid = [[i, j] for i in -4:4, j in -4:4] foldxt(+, Map(i -> grid[i]), 1:length(grid))
seems to be type unstable, while foldl works well.
foldl
I plan to fix this with https://github.com/MasonProtter/StableTasks.jl once it is registered
The text was updated successfully, but these errors were encountered:
Any update? It seems to me that any call of foldxt is type unstable. Even the examples in https://juliafolds.github.io/Transducers.jl/dev/tutorials/tutorial_parallel/#tutorial-parallel
using Transducers @code_warntype foldxt(+, Map(sin), rand(10_000_000))
Sorry, something went wrong.
No branches or pull requests
Filed in JuliaFolds/Transducers.jl#569 by @atbug
I plan to fix this with https://github.com/MasonProtter/StableTasks.jl once it is registered
The text was updated successfully, but these errors were encountered: