Commit Graph

71 Commits (ramdb)

Author SHA1 Message Date
Karchnu 59ac17d21c Adding benchmark. 2020-07-18 11:24:31 +02:00
Karchnu eb96444401 bugfix 2020-07-18 00:40:37 +02:00
Karchnu fd73bc437f Factoring. 2020-07-18 00:37:29 +02:00
Karchnu 51ebb40953 Commentary on a difference between two tests. 2020-07-18 00:12:54 +02:00
Karchnu fbcba0fa11 test data 2020-07-18 00:12:32 +02:00
Karchnu f8c0222593 CachedDB OK 2020-07-18 00:11:11 +02:00
Karchnu ae2b4801c1 Better requirements handling. 2020-07-17 10:39:40 +02:00
Karchnu 99b8b5e20b For now, DODB::DataBase::Cached works only without indexes. 2020-07-16 23:37:52 +02:00
Karchnu ba9d2fb48c reversed 2020-07-16 20:04:13 +02:00
Karchnu 370e0eca99 Adding DODB::CachedDB tests. 2020-07-16 19:50:56 +02:00
Karchnu 835537ed83 Send the right exception for missing entry. 2020-07-16 19:50:10 +02:00
Karchnu 5d662e4225 Adding cached.cr to the repository. 2020-07-16 18:40:11 +02:00
Luka Vandervelden 800d139a3d WIP for lock files and atomic operations. 2020-06-24 21:45:45 +02:00
Luka Vandervelden b413570d61 Typo in a comment, duh 2020-06-24 21:03:01 +02:00
Karchnu 5ecb94f74a Readme: s/old-git/baguette/ 2020-05-01 13:09:54 +02:00
Philippe PITTOLI 9aa34a45ad Readme: #update(V) 2020-04-20 15:32:55 +02:00
Philippe PITTOLI e457a80399 index#update(new_value) : index is automatically retrieved. 2020-04-19 18:18:53 +02:00
Philippe PITTOLI 4ba6c26a21 Readme: some fixes, some explanations about deletion base on partition. 2020-04-11 19:12:57 +02:00
Philippe PITTOLI 05b5a76ef5 Typo in the readme. 2020-04-08 14:08:37 +02:00
Philippe PITTOLI 8578f969cd Typo 2020-04-08 12:40:58 +02:00
Philippe PITTOLI 02ff632261 Readme: more explanations, longer example. 2020-04-08 12:36:41 +02:00
Philippe PITTOLI 42f3b4e5c0 Partition#delete "element" 2020-04-08 00:35:39 +02:00
Luka Vandervelden c4223eabf1 Emergency fix for tags.
They’ll work, but they’ll still be super slow.
2020-04-07 23:29:29 +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 10b0061133 Partition#delete(partition_index, &matcher) 2020-02-11 16:53:06 +01:00
Luka Vandervelden 355f85d635 Index#update_or_create(key, value) added. 2020-02-02 14:18:03 +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 65c607d9fc #to_h can also be reversed or be provided offsets. 2020-01-12 15:22:39 +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 787989b447 Exception message conventions. 2020-01-10 11:15:09 +01:00
Luka Vandervelden 603a65c6f4 Fixes a possible issue with DB reopening. 2020-01-07 16:06:18 +01:00
Luka Vandervelden 6dd5fc4637 README update. 2020-01-05 13:54:03 +01:00
Luka Vandervelden b93130dc99 README fix. 2020-01-04 16:05:01 +01:00
Luka Vandervelden 52753bce14 DODB::Index(V): #update(String, V) and #delete(String) added. 2020-01-03 09:36:41 +01:00
Luka Vandervelden 375ef6c465 README added. 2020-01-02 12:14:59 +01:00
Luka Vandervelden 10448d6b0b Finalizes the DataBase(K, V) -> DataBase(V) change. 2019-12-28 03:24:05 +01:00
Luka Vandervelden 14825f4edd Improves #reindex_everything!. 2019-12-19 04:22:56 +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 4ff5c0c781 Files moved to match name update. 2019-12-12 00:44:05 +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 472f173f6e Removed old, manual tests. 2019-12-11 22:44:24 +01:00
Luka Vandervelden 474613368a Crystal specs added. 2019-12-11 22:41:52 +01:00