swiftly icon indicating copy to clipboard operation
swiftly copied to clipboard

Improve space performance of swiftly binaries

Open cmcgee1024 opened this issue 10 months ago • 2 comments

The swiftly binaries can be quite large. Decreasing their size can improve download times, especially over slower connections.

It is possible that these linker flags could yield smaller binaries for swiftly:

--experimental-lto-mode=full -Xswiftc -experimental-hermetic-seal-at-link

cmcgee1024 avatar Jan 30 '25 18:01 cmcgee1024

Is -experimental-hermetic-seal-at-link working for Linux ELF binaries yet?

xtremekforever avatar Jan 30 '25 19:01 xtremekforever

I've only ever used it for macho

rauhul avatar Jan 30 '25 20:01 rauhul