-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Move evaluation for expression and result. #3075
Labels
type/feature req
Type: feature request
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Reduce the extra result data release and copy.
Describe the solution you'd like
Now we could deduce the lifetime of result(variable), so we could move the out-of-life value instead of copy and release it.
E.G. for expression
$-.name + '.xxxx'
, we will copy$-.name
and evaluate expression then release the useless variable$-
at now. After this proposal, we will move$-.name
and evaluate expression on the moved value, so we eliminate the copy and release cost.Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: