radix: adjust implementation to work with basic_dram_inline_string #1021
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1021 +/- ##
==========================================
+ Coverage 92.63% 92.70% +0.06%
==========================================
Files 37 37
Lines 3776 3771 -5
==========================================
- Hits 3498 3496 -2
+ Misses 278 275 -3
|
72859d7
to
0f268ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 2 files at r3.
Reviewable status: 1 of 3 files reviewed, 3 unresolved discussions (waiting on @igchor)
src/engines-experimental/radix.h, line 340 at r3 (raw file):
}; static_assert(sizeof(queue_entry<uvalue_type>) == 16, "");
you can add some message, instead of empty ""
src/engines-experimental/radix.h, line 449 at r3 (raw file):
template <typename KeyValueType> const KeyValueType &heterogeneous_radix::queue_entry<KeyValueType>::key() const
what does this do? (why is it this +1
? )
src/engines-experimental/radix.h, line 456 at r3 (raw file):
template <typename KeyValueType> const KeyValueType &heterogeneous_radix::queue_entry<KeyValueType>::value() const
+ add a short description, as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 1 of 3 files reviewed, 3 unresolved discussions (waiting on @lukaszstolarczuk)
src/engines-experimental/radix.h, line 340 at r3 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
you can add some message, instead of empty
""
Done.
src/engines-experimental/radix.h, line 449 at r3 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
what does this do? (why is it
this +1
? )
Done.
src/engines-experimental/radix.h, line 456 at r3 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
+ add a short description, as well
Done.
0f268ea
to
3077d49
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 2 files at r1, 1 of 1 files at r4.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @igchor)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @igchor)
src/engines-experimental/radix.h, line 318 at r4 (raw file):
using pmem_type = internal::radix::pmem_type<container_type>; using uvalue_type = pmem::obj::experimental::inline_string; using dram_uvalue_type = pmem::obj::experimental::basic_dram_inline_string<char>;
You may use defined
pmem::obj::experimental::dram_inline_string
3077d49
to
5ced45d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 2 of 3 files reviewed, 1 unresolved discussion (waiting on @karczex and @lukaszstolarczuk)
src/engines-experimental/radix.h, line 318 at r4 (raw file):
Previously, karczex (Paweł Karczewski) wrote…
You may use defined
pmem::obj::experimental::dram_inline_string
Done.
This change is