5 Commits

Author SHA1 Message Date
5244bfeef9 Optimisations and fixes
* Enable LTO for the indexer
 * Add a missing unwrap while serializing an index.
2020-01-31 09:20:09 +01:00
e75debc2fb Dependencies updates, new features, code cleanup
* Removed unused local crates ironsea_store_*
 * Updated dependencies
 * Added whenever possible '#![forbid(unsafe_code)]' annotations
 * Added support for MeshViewer XYZ format
 * Improved JSON efficiency by making more succinct.
 * Code cleanup to reduce the number of clippy warnings
2020-01-21 11:21:38 +01:00
2629310330 Update to latest version of dependences. 2019-11-14 16:05:25 +01:00
12457de029 Optimisations 2019-11-14 15:33:19 +01:00
1fa62e485b Clarifications in the quickstart guide 2019-11-13 10:30:25 +01:00
15 changed files with 563 additions and 554 deletions

1076
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -15,13 +15,14 @@ members = [
# Specific implementations
"ironsea_index_hashmap",
"ironsea_index_sfc_dbc",
"ironsea_store_buffered_file",
"ironsea_store_file",
"ironsea_store_mapped_file",
#"ironsea_store_buffered_file",
#"ironsea_store_file",
#"ironsea_store_mapped_file",
]
[profile.release]
lto = true
#debug = true
[patch.crates-io]
mercator_db = { path = "mercator_db" }
@@ -32,6 +33,6 @@ ironsea_store = { path = "ironsea_store" }
ironsea_index_hashmap = { path = "ironsea_index_hashmap" }
ironsea_index_sfc_dbc = { path = "ironsea_index_sfc_dbc" }
ironsea_store_buffered_file = { path = "ironsea_store_buffered_file" }
ironsea_store_file = { path = "ironsea_store_file" }
ironsea_store_mapped_file = { path = "ironsea_store_mapped_file" }
#ironsea_store_buffered_file = { path = "ironsea_store_buffered_file" }
#ironsea_store_file = { path = "ironsea_store_file" }
#ironsea_store_mapped_file = { path = "ironsea_store_mapped_file" }

View File

@@ -39,7 +39,7 @@ This enables the index implementations to be agnostic from the underlying data s
cargo run --release -- 1 10 100
```
* Index the data:
* Link the data in the indexer folder (It has to be in the current working directory when calling the indexer):
```sh
cd mercator_indexer
@@ -47,6 +47,11 @@ This enables the index implementations to be agnostic from the underlying data s
do
ln -s $f
done
```
* Index the data:
```sh
cargo run --release -- 1k 10k 100k
```