-
Notifications
You must be signed in to change notification settings - Fork 12
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
List parameters #253
Comments
I'm not sure I understand what you're referring to. Can you elaborate or point to the code where this is happening? |
You mean this? Lines 333 to 339 in d7e2c02
I'm open to suggestions on how you think we can improve it |
Can you share an example how you're building your array? |
I was using this on my side previously
|
This?
|
It's been a while so I'm going to let it sink in and try to remember why I took this approach. If I can't come up with a good reason then we can change it to use |
Yeap cheaper and more beautiful that's why I opened an issue :D |
I can't think of anything at the moment, so open to accept a PR if you'd like |
Something like this? #255 |
The previous implementation with DUP and APPEND was used to invert the order of the emitted items . The solution from @NeoDashboard emits the items directly in the correct (inversed) order and is cheaper. |
Fixed in #256 |
Hello,
I was wondering if there is a reason behind the choice of implementation of list parameters using
APPEND
/DUP
/NEWARRAY0
opcodes as It seems to not be necessary?The text was updated successfully, but these errors were encountered: