forked from leifcr/go-duka
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance: Ticks#Goto will only load if the requested time is not c…
…urrently loaded Performance: Ticks#Goto will seek to the requested time based on current cursor. In a use case where ticks is used to only load until a bar is filled will benefit from this algorithm greatly. The new algorithm will go to previous tick once, and finish. If compared to previous algorithm where it will always seek from beginning to the requested time.
- Loading branch information
1 parent
db7e59d
commit 4c253c7
Showing
1 changed file
with
79 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters