Commit Graph

25 Commits (cab18cd26bf3452469afd79d5c174ff47129da2b)

Author SHA1 Message Date
Philippe PITTOLI 183432eb32 Cached indexes by default. 2024-05-06 18:31:52 +02:00
Philippe PITTOLI 197af64c83 Way faster searches by indexes (index, partition, tags) with a cached DB. 2024-05-05 00:43:15 +02:00
Philippe PITTOLI d91452a5ae Add a very clumsy benchmark on a car database. 2024-05-04 23:12:32 +02:00
Karchnu 7584c3acc0 Rewrite of the tag mechanism. Tests are needed. 2024-04-26 19:35:00 +02:00
Karchnu 4fe2719f31 Merge branch 'master' + DODB::CachedDataBase. 2020-07-21 13:25:48 +02:00
Karchnu 161a6e1f44 Adding cached operations DODB::CachedDataBase(V). 2020-07-21 12:49:32 +02:00
Luka Vandervelden 48cf3c23be Fixes issues related to parallel updates. 2020-07-20 15:04:17 +02:00
Luka Vandervelden 2dd42f3a30 Some tests and extra code for parallelization of DODB. 2020-07-20 14:23:10 +02:00
Luka Vandervelden 800d139a3d WIP for lock files and atomic operations. 2020-06-24 21:45:45 +02:00
Luka Vandervelden f8e4e6c343 Partition#get(unknown_partition) returns [] 2020-02-11 19:47:13 +01:00
Luka Vandervelden 74aff338ff Partition#delete test added 2020-02-11 19:45:54 +01:00
Luka Vandervelden eb50b5c433 Adds tests for DODB::Index(V)#update(String, V). 2020-01-30 03:23:02 +01:00
Luka Vandervelden 364887bde3 WIP for indexing by multiple tags.
Basically, DODB::Tags#get(tags : Array(String)).
2020-01-29 16:59:39 +01:00
Luka Vandervelden c2aa834a3a Makes the migration test more repeatable. 2020-01-17 13:07:41 +01:00
Luka Vandervelden 6dc3a6d2f7 Fixes reversed: true.
Hey crystal, why don’t you have reversed ranges?
2020-01-13 13:48:24 +01:00
Luka Vandervelden 011348b33a start_offset, end_offset added in each and to_a. 2020-01-12 15:12:01 +01:00
Luka Vandervelden 1bb5268602 Improved reverse searches a bit. 2020-01-12 14:50:10 +01:00
Luka Vandervelden 863bf369b8 #reverse_each, #reverse_each_with_index added. 2020-01-10 17:20:10 +01:00
Luka Vandervelden 603a65c6f4 Fixes a possible issue with DB reopening. 2020-01-07 16:06:18 +01:00
Luka Vandervelden 10448d6b0b Finalizes the DataBase(K, V) -> DataBase(V) change. 2019-12-28 03:24:05 +01:00
Luka Vandervelden 3f53034b5a DataBase(K, V) becomes DataBase(V). 2019-12-18 03:43:09 +01:00
Luka Vandervelden c4030d4179 Migration test and example. 2019-12-17 18:16:13 +01:00
Luka Vandervelden 858d92970d reindex_everything! method added. 2019-12-12 00:01:02 +01:00
Luka Vandervelden aec1dc2011 Name change.
This time it follows our project conventions.
2019-12-11 23:18:20 +01:00
Luka Vandervelden 474613368a Crystal specs added. 2019-12-11 22:41:52 +01:00