Open
Description
Example Code:
import Foundation
let decoder = JSONDecoder()
Result
Without optimization, browser reports wasm file size of ~27MB, and ~11MB without any code
Proposed solution:
Update wasm book: https://book.swiftwasm.org/getting-started/porting.html
The Swift Foundation and Dispatch
should probably include JSONEncoder/Decoder with some sort of flag that it's not worth using even if it compiles.
If this is a valuable improvement, I'd be happy to make that PR myself. I think it could help prevent other developers from going down the same rabbit hole
Metadata
Metadata
Assignees
Labels
No labels