-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: (eddblink) get the timestamp for all station commodities at once
Do one SQL query before processing the listings file to get every timestamp, rather than doing a SQL query for the timestamp on each individual listing as we come to it. This cuts the number of SQL statements being made during processing -- and thus the time taken to process -- roughly in half.
- Loading branch information
eyeonus
committed
Apr 24, 2024
1 parent
9b73e41
commit 6c7b8d7
Showing
1 changed file
with
7 additions
and
6 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