-
Notifications
You must be signed in to change notification settings - Fork 0
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
Potential issue (✔ Fixed) #1
Comments
This should have been fixed a while ago, yeah. Unless in a global context where the data can be static, so in functions for example, the data is copied to a new allocation before use. |
Great! |
@willemneal fixed it. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider this line:
as-array-search/assembly/index.ts
Line 2 in aaebdfb
It should be:
This change will ensure that a new array is allocated each time the function is called. It used to be the case that an array litteral would allocate one array at compile time and reuse it each time.
@dcodeIO has this been fixed?
The text was updated successfully, but these errors were encountered: