Skip to content

Commit

Permalink
Switches made it smaller!
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpeppers committed Jan 31, 2024
1 parent 7bf5616 commit 17eb99f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions DotNet/libdotnet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
<!-- From SmolSharp: https://github.com/ascpixi/smolsharp/blob/54a4aeb6e8f6cdd64d049862dee611301082e71b/src/SmolSharp.props#L48-L57 -->
<IlcDisableReflection>true</IlcDisableReflection>
<StackTraceSupport>false</StackTraceSupport>
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
<IlcFoldIdenticalMethodBodies>true</IlcFoldIdenticalMethodBodies>
<IlcDehydrate>false</IlcDehydrate>
<IlcGenerateWin32Resources>false</IlcGenerateWin32Resources>
<OptimizationPreference>Size</OptimizationPreference>
</PropertyGroup>

Expand Down
Binary file modified Native/app/src/main/libs/arm64-v8a/libdotnet.so
Binary file not shown.
Binary file modified Native/app/src/main/libs/arm64-v8a/libdotnet.so.dbg
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ A breakdown of the files inside:
1981-01-01 01:01:02 9924949 4283934 25 files
```

`libdotnet.so` is ~1.3MB, and `libSkiaSharp.so` is ~8.5MB!
`libdotnet.so` is ~1.07 MB, and `libSkiaSharp.so` is ~8.5MB!

If we reduce this to a "Hello World" example:

Expand Down

0 comments on commit 17eb99f

Please sign in to comment.