Skip to content

Make possible SoySourceFunction's with zero overhead in JBCSRC runtime, compared with a BuiltinFunction. SoyJavaExternFunction can return a Method appropriate for runtime type of the arguments(s), to avoid unnecessary boxing/unboxing. SoyJavaExternFunction can replace SoyJavaSourceFunction. Convert a few built-ins to SoyJavaExternFunction where codegenning based on whether the values are boxed is advantageous. #2404

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

Merged
merged 1 commit into from
Jun 2, 2025

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Apr 15, 2025

Make possible SoySourceFunction's with zero overhead in JBCSRC runtime, compared with a BuiltinFunction. SoyJavaExternFunction can return a Method appropriate for runtime type of the arguments(s), to avoid unnecessary boxing/unboxing. SoyJavaExternFunction can replace SoyJavaSourceFunction. Convert a few built-ins to SoyJavaExternFunction where codegenning based on whether the values are boxed is advantageous.

@copybara-service copybara-service bot changed the title SoyJavaExternFunction can return a Method appropriate for the boxedness of the params, to avoid unnecessary boxing/unboxing. SoyJavaExternFunction can replace SoyJavaSourceFunction. Convert a few built-ins to SoyJavaExternFunction where codegenning based on whether the values are boxed is advantageous. Make possible SoySourceFunction's with zero overhead in JBCSRC runtime, compared with a BuiltinFunction. SoyJavaExternFunction can return a Method appropriate for runtime type of the arguments(s), to avoid unnecessary boxing/unboxing. SoyJavaExternFunction can replace SoyJavaSourceFunction. Convert a few built-ins to SoyJavaExternFunction where codegenning based on whether the values are boxed is advantageous. Jun 2, 2025
…e, compared with a BuiltinFunction. SoyJavaExternFunction can return a Method appropriate for runtime type of the arguments(s), to avoid unnecessary boxing/unboxing. SoyJavaExternFunction can replace SoyJavaSourceFunction. Convert a few built-ins to SoyJavaExternFunction where codegenning based on whether the values are boxed is advantageous.

PiperOrigin-RevId: 766263839
@copybara-service copybara-service bot merged commit 9d33fe9 into master Jun 2, 2025
@copybara-service copybara-service bot deleted the test_747606100 branch June 2, 2025 18:04
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

Successfully merging this pull request may close these issues.

1 participant