Niels Lykke Sørensen

Results 5 comments of Niels Lykke Sørensen

Well, the overhead would be minimal and amount to this: ``` return x isa Task ? fetch(x) : x # replaces: return x ``` where `x` is the memoized value....

But would it be impossible for the example above to "just" work out-of-the-box?

In that case, I'll see to make a PR.

FWIW, I have experienced a similar crash on Julia 11.1 with a very similar stack trace - and I do _not_ use Enzyme in my project. However, my code works...

Hi all - I've made a small package - [https://github.com/nielsls/Assets](https://github.com/nielsls/Assets) - that does what @KristofferC suggested. It allows you to retrieve an asset using `asset"my_image.gif"`. As Kristoffer suggested: - Assets...