-
Notifications
You must be signed in to change notification settings - Fork 564
[illink] Use Crc64Helper class #5452
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
Conversation
Context: dotnet#5451 apk size comparison, BuildReleaseArm64False test: > apkdiff -e dll$ before.apk after.apk Size difference in bytes ([*1] apk1 only, [*2] apk2 only): - 123 assemblies/Mono.Android.dll - Type Java.Interop.Tools.JavaCallableWrappers.Crc64 Type Java.Interop.Tools.TypeNameMappings.JavaNativeTypeManager - Method static string ToHash (string, System.Security.Cryptography.HashAlgorithm) + Method static string ToCrc64 (string) + Type Java.Interop.Tools.JavaCallableWrappers.Crc64Helper - 2,975 assemblies/System.Security.Cryptography.Primitives.dll *1 Summary: - 3,098 Assemblies -0.41% (of 749,039)
|
I think we might remove the |
|
This depends on dotnet/java-interop#769 |
|
This PR (#5452) and dotnet/java-interop#769 were co-dependent: the merge of dotnet/java-interop#769 breaks Java.Interop bumps. Case in point: PR #5253 fails to build: …because |
Context: dotnet/java-interop@7d197f1 Context: dotnet#5452 dotnet/java-interop@7d197f17 introduced build breakage: …/xamarin-android/external/Java.Interop/src/Java.Interop.Tools.JavaCallableWrappers/Java.Interop.Tools.JavaCallableWrappers/Crc64.cs(58,16): error CS0117: 'Crc64Helper' does not contain a definition for 'HashCore' …/xamarin-android/external/Java.Interop/src/Java.Interop.Tools.TypeNameMappings/Java.Interop.Tools.TypeNameMappings/JavaNativeTypeManager.cs(648,27): error CS0117: 'Crc64Helper' does not contain a definition for 'Compute' PR dotnet#5452 has the fix. Include the build fix so that PR dotnet#5253 can build.
Context: #5451
apk size comparison, BuildReleaseArm64False test: