Dennis Luxen
1231847a3c
replace hashmap with a dummy vector based implementation as the number of tags per object is tiny
2014-06-23 13:22:14 +02:00
Dennis Luxen
b06a73e893
replace hashmap with a dummy vector based implementation as the number of tags per object is tiny
2014-06-23 13:21:56 +02:00
Dennis Luxen
9b4071006e
reformat to cut long line
2014-06-20 16:39:58 +02:00
Dennis Luxen
ea8319e2b9
add more asserts to test for data corruption during MBR merging in StaticRTree
2014-06-19 17:52:59 +02:00
Dennis Luxen
2fae253c62
use std::size_t consistently and avoid possible loss of data
2014-06-19 11:14:28 +02:00
Dennis Luxen
1980cc007f
cast parameters before c'ting Coordinate
2014-06-17 19:10:26 +02:00
Dennis Luxen
46d4670b74
cast float to unsigned in a proper way
2014-06-17 16:00:42 +02:00
Dennis Luxen
a58d8420a2
add some formatting whitespace
2014-06-17 15:48:47 +02:00
Dennis Luxen
86617eccb1
use explicit casts
2014-06-17 15:47:40 +02:00
Dennis Luxen
0fc8e04ab5
use proper data types to avoid uncessary casts
2014-06-17 15:30:28 +02:00
Dennis Luxen
ca6e25b11c
make many more conversions explicit
2014-06-17 13:18:55 +02:00
Dennis Luxen
b112becbba
use explicit casts to mitigate MSVC warnings
2014-06-17 12:15:40 +02:00
Patrick Niklaus
e29b7a6eae
Fix some minor style issues
2014-06-15 11:04:10 +02:00
Patrick Niklaus
aedcc2ff40
Add array inlcude
2014-06-12 22:01:23 +02:00
Patrick Niklaus
4c17aeb180
Removed SSE code in RangeTable to rely on compiler optimazation
2014-06-12 22:01:23 +02:00
Patrick Niklaus
ef60ae652c
Fix edge cases in RangeTable
2014-06-12 22:01:23 +02:00
Patrick Niklaus
50bf7694c2
Constify some parts of RangeTable
2014-06-12 22:01:22 +02:00
Patrick Niklaus
807f1d7c1c
Initial support for SharedDataFacade
...
SharedDataLayout was refactored to include canary values at the
boundaries of each memory block. This makes it easy to detect overruns
and block-size mismatches between osrm-datastore and the
SharedDataFacade.
2014-06-12 22:01:22 +02:00
Patrick Niklaus
7a7d0c09d9
Integrate RangeTable into server
2014-06-12 22:00:03 +02:00
Patrick Niklaus
f90ce77da4
Use differential encoding for name offsets
...
Each name is represented as an integer range in a vector of chars.
Instead of storing the absolute offset inside this array, we can store
only the offset to the previous entry (the string size). By doing this we reduce
the number of bytes need to store an offset from 4 to 1 bytes (if we
set a maximum string length of 255).
This is however slower, since the absolute offset must be computed on
each querry by summing up all previous lengths. To limit the
performance inpact we only do this for blocks of a certain size (16).
2014-06-12 22:00:03 +02:00
Dennis Luxen
44c6a64bf4
make c'tor of NodeInfo explicit
2014-06-11 18:26:34 +02:00
Dennis Luxen
ed01eeaeb3
reformat SharedMemoryFactory according to code guidelines
2014-06-11 15:22:51 +02:00
alex85k
3282d410c4
Add basic shared memory support for Windows OS
2014-06-11 18:15:17 +06:00
Dennis Luxen
8aee371d81
further include untangling, chops 5sec compile time
2014-06-11 12:25:57 +02:00
Dennis Luxen
621a5a86a0
fixes #1041 , some only_ turn restrictions are inverted under certain conditions
2014-06-10 17:26:05 +02:00
Dennis Luxen
28a53aa147
remove superflous include
2014-06-06 19:18:44 +02:00
Dennis Luxen
67bcb98a84
make some constants explicit floats to cut down on MSVC conversion warnings
2014-06-06 15:39:29 +02:00
Alexei Kasatkin
b6787b0014
safeguard: do not read/write 0 bytes (iostream)
2014-06-05 23:16:19 +06:00
alex85k
a03b698e5a
simplify static asserts
...
Simplify static asserts to make them compatible with older compilers and MSVC 2013
2014-06-05 22:55:22 +06:00
Dennis Luxen
964118d1d6
add more comments and rename a couple of badly named variables
2014-06-05 17:27:00 +02:00
Dennis Luxen
f68af08931
fix short variable names and long lines
2014-06-05 15:40:52 +02:00
Dennis Luxen
cdd5a41965
remove duplicate edges from NodeBasedGraph
2014-06-05 15:33:24 +02:00
Dennis Luxen
1163417722
Merge branch 'patch-timing' of https://github.com/alex85k/Project-OSRM into alex85k-patch-timing
...
Conflicts:
extractor.cpp
2014-06-05 11:22:26 +02:00
alex85k
75dabb75e2
Use TimingUtil.h for all time measurement,
...
and make TimingUtil.h Windows-compatible
2014-06-04 19:52:34 +06:00
alex85k
15adcd24be
Remove extra mutex unlocking in ConcurrentQueue.h
...
As discussed in https://github.com/DennisOSRM/Project-OSRM/pull/998 , unlocking the mutex is performed on destruction. Second unlocking gives an assertion (for debug version) for Windows and FreeBSD 10.
2014-06-04 18:01:48 +06:00
Dennis Luxen
6a29168c14
use EdgeWeight typedef where possible
2014-06-03 11:28:39 +02:00
Dennis Luxen
4bc8562cd0
further reduce lint
2014-06-02 18:18:03 +02:00
Dennis Luxen
21eb5b661d
add integer based approximation for perpendicular distance
2014-05-30 14:33:37 +02:00
Dennis Luxen
87fe073118
re-layout parameters
2014-05-30 13:30:54 +02:00
Dennis Luxen
507dadebf4
fix a couple of variable names
2014-05-30 10:15:35 +02:00
Dennis Luxen
7dac8c621c
fix a couple of OCLint warning, i.e. short variable names and useless parantheses
2014-05-30 10:01:55 +02:00
Dennis Luxen
c21b40bebc
further renaming of variable names, reduces legacy lint
2014-05-29 19:25:17 +02:00
Dennis Luxen
0766c3c62d
refactor member names in ImportEdge
2014-05-29 18:46:20 +02:00
Dennis Luxen
cc40eb709c
moved ImportNode/Edge into compile units
2014-05-29 18:31:20 +02:00
Dennis Luxen
3625308585
moved ImportNode/Edge into compile units
2014-05-29 18:31:02 +02:00
Dennis Luxen
df3a7676eb
streamline branch-and-bound query code in R-tree
2014-05-29 17:16:24 +02:00
Dennis Luxen
8f6077e973
add proper c'tor to PhantomNode
2014-05-29 17:15:41 +02:00
Dennis Luxen
a67de410bf
move TreeNode exploration into its own function, fix performance regression
2014-05-29 15:36:14 +02:00
Dennis Luxen
df978345d7
rename start->source
2014-05-28 18:20:47 +02:00
Dennis Luxen
facc07c60d
use correct edge weight type in PathData
2014-05-28 18:20:29 +02:00