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

Optimization #2

Open
null-ref-ex opened this issue Aug 11, 2022 · 0 comments
Open

Optimization #2

null-ref-ex opened this issue Aug 11, 2022 · 0 comments

Comments

@null-ref-ex
Copy link

https://github.com/TessellatedGeometry/polygon-monitor/blob/4be5af9c8d2788616d3c8d15a9c3f3fb66cf9eb1/src/monitor.ts#L170

In this condition is it needed to further iterate through the enumeration? I think you can just break the loop and save some cycles.

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

1 participant