-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Building services with this library is pretty easy and lightweight. However, diving deeper into optimizations and binary sizes using this library shows that the two uses of AsyncAlgorithms
bloats the binary with swift-async-algorithms
symbols, not to mention a single symbol (shutdownGracefully
) in this lightweight library uses 17k bytes (which is a lot for a single symbol; more than any single swift-syntax
symbol for context).
Having a slightly smaller binary size might not make that much difference in the end, but I've never used swift-async-algorithms
in any of my projects directly. Would it be possible to replace the usage of swift-async-algorithms
(and excessively larger symbols from this library) with a more lightweight solution in terms of binary size?
Relevant link: https://forums.swift.org/t/81270