feat(core): Added DenseSet and StringSet types (#268)

* feat(core): Added DenseSet & StringSet types with docs

- Improved documentation by adding labels to chain types & pointer tagging table
- Added potential improvements to the DenseSet types in the docs
- Added excalidraw save file for future editing
- Removed ambiguous overloading types
- Renamed iterators to be more clear


* feat(core): Cleaned up DenseSet and Docs
* feat(core): Made DenseSet more ergonomic
* feat(server): Integration of DenseSet into Server

- Integrated DenseSet with CompactObj and the Set Family commands

Signed-off-by: Braydn <braydn.moore@uwaterloo.ca>
This commit is contained in:
Braydn 2022-09-14 01:41:54 -04:00 committed by GitHub
parent ed83b07fad
commit b8d791961e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 3749 additions and 149 deletions

View file

@ -30,6 +30,7 @@ using absl::StrCat;
ABSL_DECLARE_FLAG(int32, list_compress_depth);
ABSL_DECLARE_FLAG(int32, list_max_listpack_size);
ABSL_DECLARE_FLAG(bool, use_set2);
namespace dfly {
@ -37,6 +38,11 @@ class RdbTest : public BaseFamilyTest {
protected:
protected:
io::FileSource GetSource(string name);
// disable usage of DenseSet until the RDB patches are added
RdbTest() : BaseFamilyTest() {
SetFlag(&FLAGS_use_set2, false);
}
};
inline const uint8_t* to_byte(const void* s) {