Skip to content

SpOT-fast code error #5

@Sprate

Description

@Sprate

Hi, Ni Trieu. When I increase the expectedIntersection, I found two errors in your code.
1.In two choice hash, when you swap the bin positions of two values, their hash indexes should be reversed.
So in BalancedIndex.cpp, the above code might be append.

image

2.In MultiThread setting, when insert the final results into globalHash, you might forget to lock the thread in your code.
It happens in PrtySender.cpp line 252, the above code might be right.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions