9 Commits

Author SHA1 Message Date
6d93a031e6 Reducing again the number of allocations 2019-10-31 15:21:51 +01:00
ff96c95dcf Remove forgotten Table references 2019-10-30 22:20:08 +01:00
a545d6b03d Index API updates
* Reduce the number of allocations
 * Remove Table & VectorTable crates
2019-10-30 21:42:04 +01:00
8f796b819d Enable Link Time Optimisations (LTO) 2019-10-30 15:31:09 +01:00
136e5b42b6 Fix documentation 2019-10-23 10:39:08 +02:00
c4b2bd2fe2 Adding features
* Support for multi-resolution indexes
 * Support for ViewPort as an extra parameter to automatically select
   the index resolution
 * Take into account axis units while converting between spaces.
2019-10-18 12:31:51 +02:00
0944f8f436 Fix indexing & Documentation updates 2019-10-10 15:34:00 +02:00
4cbbdd9b97 Don't forget to initialize cells[0] 2019-10-09 22:05:22 +02:00
2d6ac152b6 USe HashSet to build dictionnaries 2019-10-09 21:31:08 +02:00
16 changed files with 17 additions and 49 deletions

6
.gitmodules vendored
View File

@@ -19,12 +19,6 @@
[submodule "ironsea_store_file"]
path = ironsea_store_file
url = ../ironsea_store_file
[submodule "ironsea_table"]
path = ironsea_table
url = ../ironsea_table
[submodule "ironsea_table_vector"]
path = ironsea_table_vector
url = ../ironsea_table_vector
[submodule "mercator_data_generator"]
path = mercator_data_generator
url = ../mercator_data_generator

23
Cargo.lock generated
View File

@@ -808,16 +808,12 @@ dependencies = [
[[package]]
name = "ironsea_index"
version = "0.1.0"
dependencies = [
"ironsea_table 0.1.0",
]
[[package]]
name = "ironsea_index_hashmap"
version = "0.1.0"
dependencies = [
"ironsea_index 0.1.0",
"ironsea_table 0.1.0",
"serde 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)",
]
@@ -830,7 +826,6 @@ dependencies = [
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
"ironsea_index 0.1.0",
"ironsea_store 0.1.0",
"ironsea_table 0.1.0",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -862,22 +857,6 @@ dependencies = [
"memmap 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "ironsea_table"
version = "0.1.0"
[[package]]
name = "ironsea_table_vector"
version = "0.1.0"
dependencies = [
"bincode 1.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
"ironsea_store 0.1.0",
"ironsea_table 0.1.0",
"serde 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "itertools"
version = "0.8.0"
@@ -1018,8 +997,6 @@ dependencies = [
"ironsea_index 0.1.0",
"ironsea_index_hashmap 0.1.0",
"ironsea_index_sfc_dbc 0.1.0",
"ironsea_table 0.1.0",
"ironsea_table_vector 0.1.0",
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"measure_time 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@@ -11,7 +11,6 @@ members = [
# Generic Interfaces
"ironsea_index",
"ironsea_store",
"ironsea_table",
# Specific implementations
"ironsea_index_hashmap",
@@ -19,20 +18,20 @@ members = [
"ironsea_store_buffered_file",
"ironsea_store_file",
"ironsea_store_mapped_file",
"ironsea_table_vector",
]
[profile.release]
lto = true
[patch.crates-io]
mercator_db = { path = "mercator_db" }
mercator_parser = { path = "mercator_parser" }
ironsea_index = { path = "ironsea_index" }
ironsea_store = { path = "ironsea_store" }
ironsea_table = { path = "ironsea_table" }
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_table_vector = { path = "ironsea_table_vector" }

View File

@@ -27,7 +27,7 @@ This enables the index implementations to be agnostic from the underlying data s
* Clone the workspace, which will take care of bringing all the repositories needed.
```sh
git clone --recurse git@gitlab.epfl.ch:DIAS/PROJECTS/HBP-SP5/mercator.git
git clone --recurse <repository URI>
```
The following steps assume the working directory is the root of the mercator repository.
@@ -45,11 +45,11 @@ This enables the index implementations to be agnostic from the underlying data s
cd mercator_indexer
for f in ../mercator_data_generator/1*.json
do
ln -s $f
ln -s $f
done
cargo run --release -- 1k 10k 100k
```
* Run the Spatial Index, while providing the path to the datasets.
```sh
@@ -62,7 +62,7 @@ This enables the index implementations to be agnostic from the underlying data s
## Documentation
For more information, please refer to the [documentation](https://epfl-dias.github.io/PROJECT_NAME/).
For more information, please refer to the [documentation](https://epfl-dias.github.io/mercator/).
If you want to build the documentation and access it locally, you can use:

Submodule ironsea_table deleted from 277f050873