Skip to content

Pre-allocate for efficiency ? #40

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

Closed
dynamic-queries opened this issue Jun 14, 2022 · 1 comment
Closed

Pre-allocate for efficiency ? #40

dynamic-queries opened this issue Jun 14, 2022 · 1 comment

Comments

@dynamic-queries
Copy link

In The Forward pass of the Fourier Layer, temporary artifacts - "linear", "𝔉", "i𝔉" are allocated for every call.

There should be a speedup, if this is preallocated in the form of a "Cache" struct. Is this right ?

@pzimbrod
Copy link
Contributor

Yup, that's right. That discussion already came up earlier in #32 and #14. Therefore I'd close this for now as we don't need to track the same thing twice.

Unfortunately due to lack of time and resources, not much has happened on that front. If you're willing, you're welcome to work on that of course!

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

No branches or pull requests

2 participants