-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support inline skiplist #85
Conversation
Codecov Report
@@ Coverage Diff @@
## master #85 +/- ##
==========================================
+ Coverage 74.86% 75.01% +0.15%
==========================================
Files 38 39 +1
Lines 9422 10028 +606
Branches 1899 2073 +174
==========================================
+ Hits 7054 7523 +469
+ Misses 767 723 -44
- Partials 1601 1782 +181
Continue to review full report at Codecov.
|
@Fullstop000 Maybe you can open a new PR for an offset-based arena and its tests. Because it seems to affect merged files as well. |
@accelsao Concurrent tests are failed due to invalid memory ref. And I've tested them with gdb and Valgrind but didn't found the cause. The AddressSanitizer is giving some errors but I have no idea how to address the related codes. PTAL if you have time :) |
@accelsao I think I might find the root cause of UB: ptr::write_bytes(&mut (*p).next_nodes, 0, height); which writes Instead, we should use: ptr::write_bytes((&mut (*p)).next_nodes.as_mut_ptr(), 0, height); which correctly writes Is it OK to force-push my fixed patch to this PR? It seems you've added two commits. |
Cool !
OK |
7a2f6ab
to
a573cf9
Compare
how do you find ub, from test? |
current failures:
It seems they are independent of this PR. |
As we don't alloc memory in the arena for key content at all (now managed by |
Signed-off-by: accelsao <[email protected]>
2. use Vec<u8> instead of Slice Signed-off-by: accelsao <[email protected]>
Signed-off-by: accelsao <[email protected]>
…onNull> Signed-off-by: accelsao <[email protected]>
Signed-off-by: accelsao <[email protected]>
Signed-off-by: Fullstop000 <[email protected]>
Signed-off-by: Fullstop000 <[email protected]>
Signed-off-by: Fullstop000 <[email protected]>
Signed-off-by: Fullstop000 <[email protected]>
Signed-off-by: Fullstop000 <[email protected]>
Signed-off-by: Fullstop000 <[email protected]>
Signed-off-by: Fullstop000 <[email protected]>
Signed-off-by: Fullstop000 <[email protected]>
Signed-off-by: accelsao <[email protected]>
Signed-off-by: Fullstop000 <[email protected]>
0aa0916
to
710ebc7
Compare
Currently, |
No description provided.