You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What do these changes do?
-------------------------
- add back the offset array for correct degree
- use v8dec/nec for varint encoding
- implements batch decoding in CompactNbr
Part of #1373
Signed-off-by: Tao He <[email protected]>
…ry (#1516)
This pull request enhances the previous varint encoding implementation by:
- use serialized, batch encoding (not slow than previous implementation, thanks to batching)
- reuse the ie list when encoding, avoid extra memory allocation and copy
- use the shrink API to adjust the size of the encoded blob writer.
After this pull request, compacting edges with varint no longer requires extra memory,
and the encoding execution time has been optimized (almost half) as well.
Fixes#1373
Signed-off-by: Tao He <[email protected]>
Additional context
See also: alibaba/GraphScope#2628
The text was updated successfully, but these errors were encountered: