Click here to Skip to main content
15,909,199 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
Stefan_Lang13-Sep-19 4:09
Stefan_Lang13-Sep-19 4:09 
GeneralRe: Scientific discovery: The Dead *are* moving! Pin
OriginalGriff13-Sep-19 4:28
mveOriginalGriff13-Sep-19 4:28 
GeneralRe: Scientific discovery: The Dead *are* moving! Pin
Rick York13-Sep-19 5:11
mveRick York13-Sep-19 5:11 
GeneralRe: Scientific discovery: The Dead *are* moving! Pin
Nelek13-Sep-19 8:08
protectorNelek13-Sep-19 8:08 
GeneralRe: Scientific discovery: The Dead *are* moving! Pin
Stefan_Lang15-Sep-19 21:30
Stefan_Lang15-Sep-19 21:30 
GeneralRe: Scientific discovery: The Dead *are* moving! Pin
Nelek15-Sep-19 23:00
protectorNelek15-Sep-19 23:00 
GeneralRe: Scientific discovery: The Dead *are* moving! Pin
Mike Hankey13-Sep-19 9:44
mveMike Hankey13-Sep-19 9:44 
Generalyay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 2:36
mvahoney the codewitch13-Sep-19 2:36 
The AVL tree gave me a lot more trouble than it should have. That's what i get for porting some C++ code from a (probably) student's github - i can't even find his name or a license Unsure | :~ , but i had to learn the algorithm somehow and where a book is nice, code speaks volumes.

The performance results surprised me at first, but as I ran more tests I began to understand what was going on - shocking! Smile | :)

The splay tree is cool, but i need to eliminate some of the recursion in it so it can hold more than say 5-10 thousand items.

The b-tree performed far better than i expected at 1,000,000 entries +, even beating Dictionary (which doesn't have to sort - cheater!), but what really got me was it was beating SortedDictionary by about 100 entries or so. I figured I'd need thousands before it overtook it, so bonus.

My conclusion is as surprising to me - the BTree dictionary is a better all around dictionary for sorted search scenarios with 100 items or greater than any of the others.

I haven't actually seen the splay tree in best case scenario yet, but even from the middling to worst case tests i gave it, it really sped up like it should with locality of searches.

I'm a nerd so i think this stuff is neat! i love learning something while coding.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.


modified 13-Sep-19 8:45am.

GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Jörgen Andersson13-Sep-19 2:54
professionalJörgen Andersson13-Sep-19 2:54 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 2:59
mvahoney the codewitch13-Sep-19 2:59 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Jörgen Andersson13-Sep-19 3:04
professionalJörgen Andersson13-Sep-19 3:04 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 3:08
mvahoney the codewitch13-Sep-19 3:08 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Jörgen Andersson13-Sep-19 3:09
professionalJörgen Andersson13-Sep-19 3:09 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 3:15
mvahoney the codewitch13-Sep-19 3:15 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Jörgen Andersson13-Sep-19 3:28
professionalJörgen Andersson13-Sep-19 3:28 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 3:39
mvahoney the codewitch13-Sep-19 3:39 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Jörgen Andersson13-Sep-19 3:43
professionalJörgen Andersson13-Sep-19 3:43 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 3:52
mvahoney the codewitch13-Sep-19 3:52 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
CodeWraith13-Sep-19 2:56
CodeWraith13-Sep-19 2:56 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 3:01
mvahoney the codewitch13-Sep-19 3:01 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
CodeWraith13-Sep-19 3:09
CodeWraith13-Sep-19 3:09 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 3:13
mvahoney the codewitch13-Sep-19 3:13 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
CodeWraith13-Sep-19 3:44
CodeWraith13-Sep-19 3:44 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 3:54
mvahoney the codewitch13-Sep-19 3:54 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Nand3213-Sep-19 4:17
Nand3213-Sep-19 4:17 

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.