Skip to content
This repository has been archived by the owner on Jun 17, 2023. It is now read-only.

Compile time issue #84

Open
gpolyansky opened this issue Nov 23, 2022 · 2 comments
Open

Compile time issue #84

gpolyansky opened this issue Nov 23, 2022 · 2 comments

Comments

@gpolyansky
Copy link
Contributor

Hello! Look at the timeline of compilation of these files:
TransformPageView
TransformPageViewProtocol
TransformCurve

SPM
Xcode 14.1
Macbook Pro 16 m1 pro
macOS Monterrey

Screenshot 2022-11-24 at 02 51 10

How we can reduce compile time?

@gpolyansky
Copy link
Contributor Author

I found some issues with optionals in TransformPageViewProtocol extension:
image

Please, could you refactor initialisation of PagePadding to make it not so hard with optional types.

To activate build time analytics just add -Xfrontend -warn-long-expression-type-checking=30 to project build settings at Other Swift Flags setting.

@amirdew
Copy link
Owner

amirdew commented Nov 28, 2022

Hey Jerry,
Thanks for looking into this, we can definitely improve it.
Feel free to open a PR and improve the code.
I'll try to take a look and improve it as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants