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

Speed up history database by accessing system time functions only as … #30

Merged
merged 3 commits into from
May 3, 2019

Conversation

transmitterdan
Copy link

…needed.

Fix crash when lat or long are empty in RMB message

Extracting time elements from wxDateTime is expensive because WX goes
back to the system for time-zone offsets every time an hour or minute
is accessed. By storing the time vector as wxDateTime::Tm the system
time functions are only accessed once for each new entry in the table.

transmitterdan added 3 commits April 28, 2019 20:18
…needed.

Fix crash when lat or long are empty in RMB message

Extracting time elements from wxDateTime is expensive because WX goes
back to the system for time-zone offsets every time an hour or minute
is accessed.  By storing the time vector as wxDateTime::Tm the system
time functions are only accessed once for each new entry in the table.
@tom-r tom-r merged commit f50c40d into tom-r:master May 3, 2019
rgleason referenced this pull request in rgleason/tactics_pi May 8, 2019
Synced with upstream after upstream pull #30 -Canne-perf-improvements
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.

2 participants