Skip to content

Commit

Permalink
Optimize for performance over size
Browse files Browse the repository at this point in the history
The Playdate has more memory than computational power, so it seems to
make sense to optimize for performance over size.
  • Loading branch information
finnvoor committed Apr 2, 2024
1 parent e57fe09 commit a04096c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/PDCPlugin/PDCPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ import PackagePlugin
let cFlags = gccIncludePaths.flatMap { ["-I", $0] }

let swiftFlags = cFlags.flatMap { ["-Xcc", $0] } + [
"-Osize",
"-O",
"-wmo",
"-enable-experimental-feature", "Embedded",
"-Xfrontend", "-disable-stack-protector",
Expand Down

0 comments on commit a04096c

Please sign in to comment.