Skip to content

Commit

Permalink
Hashing of the batch in bh_fuse_cache has been improved by including …
Browse files Browse the repository at this point in the history
…an instruction seperator, to avoid collisions
  • Loading branch information
tblum committed Jun 10, 2015
1 parent a8520fe commit 6356ea2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/bh_fuse_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ namespace bohrium {
size_t id = vid.first;
this->append((char*)&id, sizeof(id));
}
const size_t sep = SIZE_MAX;
this->append((char*)&sep, sizeof(sep)); // Instruction seperator symbol
}

//Constructor of the BatchHash class
Expand Down

0 comments on commit 6356ea2

Please sign in to comment.