Commit Graph

3 Commits

Author SHA1 Message Date
Kajari Ghosh
e4a4a8d91a fixes and a rebase 2018-04-20 08:50:59 -04:00
Kajari Ghosh
0fb706866c pass in a hashed key to the threadlocal cache
500 mb threadlocal 2 t
2018-04-20 08:00:15 -04:00
Kajari Ghosh
90e0beaed6 set up for computing durations while unpacking them
copy dummy cache over

implement retrievePackedPathFromSearchSpace

calculate packed_path_from_source_to_middle

debugging the retrievePackedPathFromSearchSpace function implementation

adding in packed_path_from_source_to_middle

cache is partway working

unpack path and get duration that way

the computeDurationForEdge method

comment out cache

clean up the code

move vector creation and allocation to outside of loop

hack to not return vectors on facade.GetUncompressedForwardDurations and facade.GetUncompressedReverseDurations

clean up hack

add exclude_index to cache key

clearing cache with timestamp

rebase against vectors->range pr

swapped out unordered_map cache with a boost_lru implementation

calculation for cache size

cleaned up comment about cache size calculations

unit tests

cache uses unsigned char for exclude index

clean up cache and unit tests
2018-04-20 08:00:15 -04:00