Click here to Skip to main content
14,381,948 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Scientific discovery: The Dead *are* moving! Pin
Nelek13-Sep-19 9:08
protectorNelek13-Sep-19 9:08 
GeneralRe: Scientific discovery: The Dead *are* moving! Pin
Stefan_Lang15-Sep-19 22:30
memberStefan_Lang15-Sep-19 22:30 
GeneralRe: Scientific discovery: The Dead *are* moving! Pin
Nelek16-Sep-19 0:00
protectorNelek16-Sep-19 0:00 
GeneralRe: Scientific discovery: The Dead *are* moving! Pin
Mike Hankey13-Sep-19 10:44
professionalMike Hankey13-Sep-19 10:44 
Generalyay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 3:36
memberhoney the codewitch13-Sep-19 3:36 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Jörgen Andersson13-Sep-19 3:54
protectorJörgen Andersson13-Sep-19 3:54 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 3:59
memberhoney the codewitch13-Sep-19 3:59 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Jörgen Andersson13-Sep-19 4:04
protectorJörgen Andersson13-Sep-19 4:04 
honey the codewitch wrote:
well in my tests i used positive ints for the keys, which based on the reference implementation gives a perfect spread for its hashcodes

Perhaps not.
The code at referencesource.microsoft.com[^] for Int32 hashcode looks like this:
// The absolute value of the int contained.
public override int GetHashCode() {
    return m_value;
}
So if you don't use random ints there won't be a random spread
Wrong is evil and must be defeated. - Jeff Ello

GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 4:08
memberhoney the codewitch13-Sep-19 4:08 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Jörgen Andersson13-Sep-19 4:09
protectorJörgen Andersson13-Sep-19 4:09 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 4:15
memberhoney the codewitch13-Sep-19 4:15 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Jörgen Andersson13-Sep-19 4:28
protectorJörgen Andersson13-Sep-19 4:28 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 4:39
memberhoney the codewitch13-Sep-19 4:39 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Jörgen Andersson13-Sep-19 4:43
protectorJörgen Andersson13-Sep-19 4:43 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 4:52
memberhoney the codewitch13-Sep-19 4:52 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
CodeWraith13-Sep-19 3:56
memberCodeWraith13-Sep-19 3:56 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 4:01
memberhoney the codewitch13-Sep-19 4:01 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
CodeWraith13-Sep-19 4:09
memberCodeWraith13-Sep-19 4:09 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 4:13
memberhoney the codewitch13-Sep-19 4:13 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
CodeWraith13-Sep-19 4:44
memberCodeWraith13-Sep-19 4:44 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 4:54
memberhoney the codewitch13-Sep-19 4:54 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Nand3213-Sep-19 5:17
memberNand3213-Sep-19 5:17 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Nand3213-Sep-19 5:15
memberNand3213-Sep-19 5:15 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 9:29
memberhoney the codewitch13-Sep-19 9:29 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Nand3214-Sep-19 0:41
memberNand3214-Sep-19 0:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.