Skip to content

Move sol usertype registration to dedicated TU#2099

Open
ishitatsuyuki wants to merge 1 commit intoValveSoftware:masterfrom
ishitatsuyuki:massive-tu
Open

Move sol usertype registration to dedicated TU#2099
ishitatsuyuki wants to merge 1 commit intoValveSoftware:masterfrom
ishitatsuyuki:massive-tu

Conversation

@ishitatsuyuki
Copy link

The sol2 header is massive. Instantiating a static in every file also has implications on binary size.

Move usertype registration to a dedicated translation unit, per official advice 1.

The sol2 header is massive. Instantiating a static in every file also has
implications on binary size.

Move usertype registration to a dedicated translation unit, per official
advice [1].

[1]: https://sol2.readthedocs.io/en/latest/compilation.html
@ishitatsuyuki
Copy link
Author

CI time 4m51s -> 3m45s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant