-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The problem was the scheme for numbering LambdaStaticDatas to avoid recompiling the same closure on remote machines. Only the remote side kept state, so if a LambdaStaticData was GC'd on the local side we could start reusing IDs incorrectly.
- Loading branch information
1 parent
7f1522b
commit 7b427b5
Showing
1 changed file
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shouldn't this be a uint128, if you actually want to guarantee uniqueness? or possibly a uint64 assigned as follows:
ln = uint32(hash(uint32(lnumber_salt))) + uint64(myid())<<32
assuming that myid()::Int32