-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I am very sorry, but I realized this problem while reviewing the algorithm these past two days. The current ReservoirItemsUnion implementation is missing some features compared to the Java reference implementation, and there are also some algorithmic simplification issues. Even though it passed the tests at the time, the tests seem to be incomplete.
I want to keep this issue open until I am certain that the ReservoirItemsUnion functionality is correctly implemented.
Again, I apologize for the inconvenience.
Remaining Work
Serialization
- ToSlice(serde) → Java:
toByteArray(ArrayOfItemsSerDe) -
NewReservoirItemsUnionFromSlice(data, serde)→ Java:heapify(MemorySegment, ArrayOfItemsSerDe)
Update from bytes
-
UpdateFromSlice(data, serde)→ Java:update(MemorySegment, ArrayOfItemsSerDe)
Utility
- String() → Java:
toString()
Already Fixed
- Core merge logic → Java: twoWayMergeInternal
- Weighted sampling → Java: twoWayMergeInternalWeighted
- Gadget initialization → Java: createNewGadget
- Downsampling → Java:
downsampledCopy
Metadata
Metadata
Assignees
Labels
No labels