1
0
Fork 0
Commit Graph

157 Commits

Author SHA1 Message Date
Michael Hackstein faf547f002 V8Traverser now uses fast path in trx document. 2016-05-02 16:23:25 +02:00
Michael Hackstein e98c9d1281 Repliced some string::split by find+substr combiniation. Is more efficient. 2016-05-02 14:17:54 +02:00
jsteemann d6833b6862 potentially optimized lookups for _from and _to 2016-04-30 14:21:15 +02:00
jsteemann 3a92773685 use StaticStrings 2016-04-29 15:18:20 +02:00
Michael Hackstein 7af9beefa1 Neighbors now uses VPackSlices with specialized string comparision function. 2016-04-29 13:55:02 +02:00
Michael Hackstein 4d440220a5 Used a shared builder for a closure instead of creating a new one every time. 2016-04-26 10:50:30 +02:00
Michael Hackstein 85a2c3a44c The shortestPath computation now uses Slices instead of strings to identify the documents. 2016-04-25 15:25:22 +02:00
Michael Hackstein db9a4e4af4 Replaced extractIdString by a more optimized variant, which considers the already known collectionname in some graph functions 2016-04-25 11:13:09 +02:00
jsteemann 28930370c2 micro optimizations 2016-04-23 20:49:22 +02:00
Michael Hackstein 00158f641e ShortestPath now uses mptr variant of operation cursor. Is even more performant. 2016-04-22 09:27:19 +02:00
Michael Hackstein d997f73c29 Removed all id splits in favor of string.find which is way faster. 2016-04-21 17:46:51 +02:00
Michael Hackstein cc542af656 Reactivated continuous neighbors searches after performance improvements. 2016-04-21 17:15:10 +02:00
Max Neunhoeffer fa99e47129 Fix a bug in traverser. 2016-04-21 14:30:14 +02:00
Michael Hackstein 490905d188 Replaced an unordered set by a vector. The uniqueness is guaranteed by other mechanisms anyways. Further improved computationtime of Neighbors 2016-04-21 13:52:12 +02:00
Michael Hackstein 68691c6799 All Neighbors implementations now use the fastest variant. 2016-04-21 13:33:28 +02:00
Michael Hackstein fe41af2257 Fixed a bug in Neighbors matchVertex. It aborted too early some times 2016-04-21 10:49:25 +02:00
Michael Hackstein c1ad6dd5dd Added the improvement for OutboundNeighbors to Inbound and Any neighbors as well. For Any-Neighbors the effect is not too significant. 2016-04-20 16:49:34 +02:00
Michael Hackstein ae80b86599 Added a function to request babies from an IndexIterator (next n elements). Used this function in OperationCursor to get a list of mptrs. The only Index supporting it right now is EdgeIndex. It is only used in OutboundNeighbors at this point. 2016-04-20 15:13:42 +02:00
Michael Hackstein 98995d8805 Improved Neighbors function, if there is no vertex example given. It will recognize earlier that there is nothing to check and will not fetch the real document. 2016-04-20 12:53:06 +02:00
Michael Hackstein 7e6fd1561e Reverted usage of externals in Graph Functions. Commit was to early. Still warting for transparent handling of externals in VelocyPack 2016-04-19 14:42:17 +02:00
Michael Hackstein cf737639ba V8Traverser now uses externals in Slices instead of direct documents 2016-04-19 12:30:50 +02:00
Jan Steemann f725b01036 fix non-deterministic behavior 2016-04-08 16:42:22 +02:00
Jan Steemann f2e2dbb435 pacify valgrind
added assertion

added assertions
2016-04-08 15:05:08 +02:00
Jan Steemann 0c00738aff fixes for Visual Studio 2016-04-08 12:07:53 +02:00
Michael Hackstein 7269fd3dc9 Fixed multiple edge collections in Traverser. All aql-traverser tests seem to work 2016-03-23 16:38:29 +01:00
Michael Hackstein 2d45a6e5b2 Fixed statistics for Traversals. Also uses less lookups now 2016-03-23 16:04:53 +01:00
Michael Hackstein e71d650178 Dryed code in v8Traverser and fixed a boolen if error 2016-03-23 12:13:07 +01:00
Max Neunhoeffer 12c420913e Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk 2016-03-23 09:02:14 +01:00
Max Neunhoeffer c2049b8ee1 Switch to IndexHandles. 2016-03-23 08:57:00 +01:00
Jan Steemann 16e56446b1 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-22 19:01:27 +01:00
Jan Steemann e8c09f3cc1 added missing reset functionality for nested traversals 2016-03-22 18:58:08 +01:00
Michael Hackstein 7d35e1d15e Disabled multi-threaded shortest-path search. SingleThread is fast enough and new trx API is not thread safe. 2016-03-21 16:21:14 +01:00
Jan Steemann ce63219435 removed DocumentAccessor 2016-03-21 15:40:44 +01:00
Jan Steemann 304243a4b0 fixes 2016-03-21 13:17:36 +01:00
Michael Hackstein 7f9ae321a0 Traverser Basic options now know the transaction. Modified all implementations to use Slices in apropriate places. Fixes some, but not all tests 2016-03-21 11:28:33 +01:00
Michael Hackstein 7896905ad7 Fixed a multithreading bug for EdgeCollectionInfos. Threads shared the same Builder instance which is not possible. 2016-03-21 09:20:31 +01:00
jsteemann 87d3d4935b fixed query cache 2016-03-18 20:22:14 +01:00
Michael Hackstein 75fa81302a Fixed access to a nullptr. 2016-03-18 18:46:01 +01:00
Michael Hackstein 8e678d0fc2 Fixed single server version of Traverser 2016-03-18 15:54:52 +01:00
Michael Hackstein 2d2cfae297 Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk 2016-03-17 18:51:30 +01:00
Michael Hackstein 401f55ae37 Replaced OperationCursor by shared_ptrs every where and removed the slice function from it. Instead it returns a shared ptr on a OperationResult on getMore 2016-03-17 18:49:20 +01:00
jsteemann a15e9d9550 removed files 2016-03-17 00:28:08 +01:00
Michael Hackstein 4a2c33eafc Replaced setStartVertex(Slice) by setStartVertex(string) in Traversal and fixed all resulting compile errors. It now compiles but is not Functional yet. Have to implement reading of Documents from DB in TRX / VPack Style 2016-03-16 11:12:27 +01:00
Michael Hackstein 7113e93c67 Finished with Shortest Path Implementation based on new TRX and VPack API 2016-03-15 20:48:02 +01:00
Michael Hackstein 6bcbf1241b Started reimplementing ShortestPath wth new transactions and VPack 2016-03-15 18:34:37 +01:00
Michael Hackstein 23f845de05 Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk 2016-03-10 10:46:30 +01:00
Michael Hackstein 4c4c117059 Partially Adopted Traverser to new transaction API. This is still work in Progress. It compiles but it will not work yet. 2016-03-10 10:42:20 +01:00
jsteemann a7450eb65f removed some includes 2016-03-09 22:21:08 +01:00
Michael Hackstein ecbab4e2da Removed duplicate functionality from functions.cpp. Also Simplified the example matcher to not use Resolver and Shaper any more 2016-03-09 12:43:04 +01:00
jsteemann d756f6a176 removed TRI_transaction_collection_t from public APIs 2016-03-09 01:51:17 +01:00