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

exp/lighthorizon/index: Better errors, comments, small looping refactor. #4445

Closed
wants to merge 1 commit into from

Conversation

Shaptic
Copy link
Contributor

@Shaptic Shaptic commented Jun 30, 2022

What

Besides more verbosity on error messages and better comments, I refactored the job loops to build the URLs once rather than whenever they're needed.

Why

This is faster (less string building), cleaner (less code), and safer (range-based rather than index-based loops).

@Shaptic Shaptic self-assigned this Jun 30, 2022
@Shaptic Shaptic force-pushed the lighthorizon_fixups branch 2 times, most recently from 2001768 to e913102 Compare July 13, 2022 21:42
@Shaptic Shaptic marked this pull request as ready for review July 13, 2022 21:42
@Shaptic Shaptic requested a review from sreuland July 13, 2022 21:42
@Shaptic Shaptic force-pushed the lighthorizon_fixups branch from e913102 to 1ac9e2c Compare July 13, 2022 21:43
@Shaptic Shaptic closed this Jul 14, 2022
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