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

try optimize code #158

Open
Geksanit opened this issue Nov 9, 2021 · 2 comments
Open

try optimize code #158

Geksanit opened this issue Nov 9, 2021 · 2 comments

Comments

@Geksanit
Copy link
Contributor

Geksanit commented Nov 9, 2021

image
in this snippet, the function is called three times with the same result, almost. Perhaps you can get by with just one function call.

@Geksanit
Copy link
Contributor Author

Geksanit commented Nov 9, 2021

I think this will speed up the code generation time

@kokovtsev
Copy link
Contributor

In our project, this function takes just ~240ms of ~24s, i.e. just 1% of the total time.
But it's a good point that we could or should eventually profile the app to check if there is an easy speed boost!

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

No branches or pull requests

2 participants