Skip to content

Commit

Permalink
use updated db data and use grid-cell file to search by GPS fasly
Browse files Browse the repository at this point in the history
- todo: add more tests and check for weird GPS etc ...
- R&D check if db.tsv can be compressed
  • Loading branch information
canbax committed Aug 27, 2024
1 parent f8b86a5 commit 50f87ef
Show file tree
Hide file tree
Showing 9 changed files with 350,845 additions and 347,475 deletions.
698,116 changes: 350,684 additions & 347,432 deletions data/db.tsv
Binary file added data/grid.json.gz
Binary file not shown.
Binary file modified data/index.bin
Binary file not shown.
Binary file modified data/trie.gz
Binary file not shown.
18 changes: 16 additions & 2 deletions src/main.ts
12 changes: 9 additions & 3 deletions src/types.ts
140 changes: 111 additions & 29 deletions src/util.ts
18 changes: 17 additions & 1 deletion test/main.spec.ts
16 changes: 8 additions & 8 deletions test/util.spec.ts

0 comments on commit 50f87ef

Please sign in to comment.