Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-design lifecycle parameter #1654

Open
Havunen opened this issue Nov 3, 2023 · 1 comment
Open

re-design lifecycle parameter #1654

Havunen opened this issue Nov 3, 2023 · 1 comment

Comments

@Havunen
Copy link
Member

Havunen commented Nov 3, 2023

Currently lifecycle parameter is list of all functions to be called during / after render process. Performance and memory allocation could be improved by re-designing this parameter to take objects and function pointers (references) and then call them providing correct call context.

Same time implement benchmark to measure performance cost of lifecycle events

@Havunen
Copy link
Member Author

Havunen commented Nov 3, 2023

Animation hooks parameter also seems very similar and could be merged together

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

No branches or pull requests

1 participant