1
0
Fork 0
Commit Graph

119 Commits

Author SHA1 Message Date
jsteemann d3604238e4 optimizations 2016-05-02 23:06:04 +02:00
jsteemann fefdd33574 use xxHash for hashing id strings 2016-05-02 15:46:04 +02:00
jsteemann 575e6e38d7 use constant 2016-05-01 23:43:01 +02:00
jsteemann e478c1ae11 faster lookup for _key attribute 2016-04-30 13:25:06 +02:00
Michael Hackstein c58b78062b Added a sanitize externals function that expands externals on demand. It is now used whenever a query is stored in the query cache as the data it is pointing to might be moved. Has to be used as well when sending VPack to client. 2016-04-29 15:21:48 +02:00
Michael Hackstein 536603f66f Velocypack helper now has a specialized hash and compare function for VPackStrings. It is more efficient as it uses shortcuts for bytesize. Will fail for non string case, use with caution 2016-04-29 13:53:41 +02:00
jsteemann b9ef307bf1 micro optimizations 2016-04-28 12:04:14 +02:00
Frank Celler d6e8046992 updated cleanupCFiles 2016-04-23 16:34:57 -07:00
Jan Steemann 48d0a1cbb5 micro optimizations 2016-04-21 12:46:53 +02:00
jsteemann 316a1bd190 starting support for Externals 2016-04-19 22:31:40 +02:00
Jan Steemann 917a1744c9 updated vpack library 2016-04-18 15:30:26 +02:00
Michael Hackstein d67b203382 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-08 13:15:16 +02:00
Michael Hackstein 12d973504c Fixed babies creation in cluster with undefined keys. 2016-04-08 10:53:11 +02:00
Jan Steemann e4b1dd8f5f fixed tests for TRI_HashJsonByAttributes() 2016-04-07 19:55:42 +02:00
Kaveh Vahedipour bb4d520467 VelocyPackHelper buildEmptyObject was buggy 2016-04-06 16:33:56 +00:00
Michael Hackstein 3ad837f17c Added a function to hash specific attributes of a velocypack Object 2016-04-06 16:43:59 +02:00
Michael Hackstein a5d20b0041 Activated Externals in OperationCursor. This commit might break tests again. 2016-03-29 11:08:31 +02:00
Michael Hackstein ed7fd3c495 Added VPack MinKey as Illegal Index Element. Is used to distinguish NON existance in Array indexes 2016-03-24 13:40:16 +01:00
Jan Steemann 809c32c63d fixed typeweights 2016-03-24 12:52:08 +01:00
Michael Hackstein af14e598d1 Fixed Array Indexing. All tests are green again 2016-03-24 11:22:01 +01:00
Jan Steemann d5d943b4a5 adapt to branch 2016-03-23 17:09:29 +01:00
Jan Steemann c8c9288400 harmonize value comparisons for hash indexes 2016-03-23 16:36:00 +01:00
jsteemann 62058d4900 allow turning off SSE4_2 variants 2016-03-18 19:39:53 +01:00
jsteemann 5ded90ed1c fixed compare function for Custom attributes 2016-03-18 13:55:36 +01:00
jsteemann b04ec219d9 changed functions signature 2016-03-15 00:01:54 +01:00
Jan Steemann b393c3d9bb Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-09 09:42:10 +01:00
Frank Celler dfa9047484 switch arangosh to new ApplicationFeatures and ProgramOptions 2016-03-08 23:32:43 +01:00
Jan Steemann e946729306 aqlvalue$ 2016-03-08 18:52:34 +01:00
Jan Steemann 0496f99b21 expression now using VelocyPack 2016-03-08 13:03:03 +01:00
Jan Steemann 16588e33d3 less json 2016-03-03 17:30:15 +01:00
Jan Steemann 285de1998b velocypack 2016-03-01 17:54:57 +01:00
Jan Steemann e1745608e3 inject attribute translator everywhere 2016-02-25 11:13:32 +01:00
Jan Steemann 5ee8493c39 cleanup 2016-02-24 19:51:12 +01:00
Michael Hackstein a3cd1aa54e Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-02-15 10:25:31 +01:00
Michael Hackstein 335abd5640 Added a helper function to transform any VPack value to a double. This is conistent with V8 Json to double 2016-02-09 16:50:39 +01:00
Kaveh Vahedipour 2b6a0ceaa5 Added simple piping of VP slices into Logger streams. 2016-02-05 10:49:19 +00:00
Kaveh Vahedipour 43e2cff79c Added simple piping of VP slices into Logger streams. 2016-02-05 09:23:09 +00:00
Michael Hackstein edf7f6b9d9 Further implementation of AQL functions for VPack. UNIQUE UNIQUE_SORTED UNION UNION_DISTINCT 2016-02-04 15:23:26 +01:00
Michael Hackstein 84b1f9055d Further implementation of VPackAqlValue functions. This included VALUES and ATTRIBUTES. These functions by accident had an ordering in TRI_json_t which they do not have any more in VelocyPack. Clarified Documentation. 2016-02-04 13:49:59 +01:00
Michael Hackstein c782fe5917 Use VPackCollection::merge to merge to VPackSlices. 2016-02-01 17:10:25 +01:00
Michael Hackstein 197292a230 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-02-01 13:02:49 +01:00
Jan Steemann b7abf5a40d attempt to fix Windows build 2016-02-01 12:04:28 +01:00
Michael Hackstein b85d5d4a26 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-02-01 09:49:29 +01:00
Michael Hackstein 9ea8e3ea0c Started to write merge of two slices. This is not yet working for null means delete, works for all other merges. 2016-02-01 09:49:19 +01:00
jsteemann 2d7323a560 fixed warnings shown by clang-3.7 2016-01-31 02:17:36 +01:00
jsteemann 353c9732b7 removed last LOG_xxx macros 2016-01-30 04:03:18 +01:00
jsteemann 9482ee1cca use Logger 2016-01-30 00:08:35 +01:00
Jan Steemann 9046e1831b clang-format 2016-01-27 13:43:46 +01:00
Michael Hackstein 191c2dc3a9 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-21 16:29:38 +01:00
Michael Hackstein b8bff937b1 Improved VelocyPack Helper functions. They now directly return the default value if the key is not existing 2016-01-19 09:46:33 +01:00
Michael Hackstein aace581915 Fixed the most stupid thing ever found on windows yet. std::max forbidden trololololol 2016-01-18 12:26:32 +01:00
jsteemann 431900f17a changed namespace from triagens to arangodb 2016-01-17 00:44:53 +01:00
Michael Hackstein 0371083fd0 Added a function to compare two VelocyPacks which is compatible to the old compare two shaped json values. 2016-01-15 13:42:03 +01:00
Michael Hackstein 0575fbb4ef Added a convenience function for uint64_t parsing. Works with strings as well as numbers 2016-01-14 12:44:07 +01:00
Michael Hackstein 69f4f974d3 Vocbase server now stores VPack instead of TRI_json_t 2016-01-13 10:25:52 +01:00
Jan Steemann 3ad20c0cae auto-generated headers 2016-01-06 18:41:51 +01:00
Jan Steemann a3b026d9d1 removed useless sections from code, unified include guards 2016-01-06 14:15:22 +01:00
Jan Steemann f422576ee0 clang-format 2016-01-05 17:43:24 +01:00
Max Neunhoeffer 225c8cd843 Work on TODOs. 2015-12-22 16:50:09 +01:00
Jan Steemann e2e483e06a potential fix 2015-12-22 12:34:48 +01:00
Michael Hackstein b492b154d8 Added a velocyPackFromFile to the VelocyPackHelper 2015-12-10 11:02:19 +01:00
Michael Hackstein fe61871111 Added a new convenience function to VelocyPackHelper to get either the string value of an attribute or a default string if it fails 2015-12-06 12:57:02 +01:00
Michael Hackstein 6474f65166 Added an additional assertion to VPackHelper 2015-12-05 13:01:10 +01:00
Jan Steemann bcb31ab4c2 insertv continued 2015-11-19 16:46:06 +01:00
Jan Steemann dca8efa82f updated vpack library 2015-11-13 12:58:17 +01:00
Jan Steemann ccf75ab804 updated vpack library 2015-11-10 15:49:38 +01:00
Michael Hackstein d12daaaef7 Replaced TRI_Json_t in RestExportHandler by VelocyPack 2015-11-10 14:12:40 +01:00
Michael Hackstein eb9376f7d8 Added a method to create TRI_json_t from VPack 2015-11-10 09:54:27 +01:00
Michael Hackstein 66e1534b65 Started to Implement a static VelocyPackHelper. Having the same functionality as JsonHelper but for VelocyPack. Should make move way easier. 2015-11-09 16:01:54 +01:00