mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 16:35:49 +02:00
[GH-ISSUE #204] [OPTIMISATION] Separate files for computation of time gaps and leader #44
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/f1-race-replay#44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @111110100 on GitHub (Jan 30, 2026).
Original GitHub issue: https://github.com/IAmTomShaw/f1-race-replay/issues/204
This is in reference to a merged PR #85. I noticed computation for time gaps and leader is done separately on two files:
On src/ui_components.py
and src/interfaces/race_replay.py
I think that it can optimised by doing the computation on one file, one loop and check if the computation being performed is either vs the leader or between drivers. For reference, please see this commit that's shorter that's part of PR #197.
@111110100 commented on GitHub (Feb 6, 2026):