Click here to Skip to main content
14,387,771 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: Now I'm really scared... Pin
RickZeeland14-Sep-19 23:19
mveRickZeeland14-Sep-19 23:19 
GeneralRe: Now I'm really scared... Pin
Kornfeld Eliyahu Peter14-Sep-19 23:25
mveKornfeld Eliyahu Peter14-Sep-19 23:25 
GeneralRe: Now I'm really scared... Pin
Daniel Pfeffer14-Sep-19 23:41
professionalDaniel Pfeffer14-Sep-19 23:41 
GeneralRe: Now I'm really scared... Pin
Kornfeld Eliyahu Peter14-Sep-19 23:49
mveKornfeld Eliyahu Peter14-Sep-19 23:49 
GeneralRe: Now I'm really scared... Pin
Nand3215-Sep-19 8:06
MemberNand3215-Sep-19 8:06 
GeneralRe: Now I'm really scared... Pin
jsc4215-Sep-19 23:35
professionaljsc4215-Sep-19 23:35 
GeneralRe: Now I'm really scared... Pin
NeverJustHere15-Sep-19 0:43
MemberNeverJustHere15-Sep-19 0:43 
GeneralMy b tree is a champion, my b+ tree not so much =( Pin
honey the codewitch14-Sep-19 13:45
Memberhoney the codewitch14-Sep-19 13:45 
well i learned something about algos today

It took me a lot longer to get the b+ tree going, and i even made it thread safe.

It's not a performer though. It seems my initial conclusion was correct, that a B+ tree is really only good if it's file backed because it limits access to the leaf nodes (where file seeking happens) and it has a forward or double linked list to scan through the leaves sequentially without having to traverse the tree - an optimization of a bplus tree i've found questionable, but it depends on the height of the tree i guess.

So now I'm off to make a thread safe version of Dictionary that will (perhaps) take null keys.

I don't like concurrentdictionary because it doesn't explose IDictionary<tkey,tvalue> but rather a weird one off interface that you can't wrap with IDictionary<tkey,tvalue>

Once I have that I can make a thread safe option for my JSON library.

And once I have that, I can share cache between all threads. Woo. More first order cache hits, less memory usage.

*cracks knuckles and rolls up sleeves*
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.

GeneralRe: My b tree is a champion, my b+ tree not so much =( Pin
Sander Rossel15-Sep-19 1:58
professionalSander Rossel15-Sep-19 1:58 
GeneralRe: My b tree is a champion, my b+ tree not so much =( Pin
honey the codewitch15-Sep-19 4:34
Memberhoney the codewitch15-Sep-19 4:34 
GeneralOh yeah I'm on a roll today! Pin
honey the codewitch14-Sep-19 12:45
Memberhoney the codewitch14-Sep-19 12:45 
GeneralRe: Oh yeah I'm on a roll today! Pin
Nand3214-Sep-19 18:34
MemberNand3214-Sep-19 18:34 
GeneralRe: Oh yeah I'm on a roll today! Pin
honey the codewitch14-Sep-19 18:37
Memberhoney the codewitch14-Sep-19 18:37 
GeneralRe: Oh yeah I'm on a roll today! Pin
Nand3214-Sep-19 19:06
MemberNand3214-Sep-19 19:06 
GeneralRe: Oh yeah I'm on a roll today! Pin
honey the codewitch14-Sep-19 19:09
Memberhoney the codewitch14-Sep-19 19:09 
GeneralRe: Oh yeah I'm on a roll today! Pin
Nand3214-Sep-19 19:14
MemberNand3214-Sep-19 19:14 
GeneralUbuntu Wins (defeats Win10)! Pin
raddevus14-Sep-19 11:08
mvaraddevus14-Sep-19 11:08 
GeneralRe: Ubuntu Wins (defeats Win10)! Pin
honey the codewitch14-Sep-19 11:29
Memberhoney the codewitch14-Sep-19 11:29 
GeneralRe: Ubuntu Wins (defeats Win10)! Pin
raddevus14-Sep-19 11:57
mvaraddevus14-Sep-19 11:57 
GeneralRe: Ubuntu Wins (defeats Win10)! Pin
jesarg14-Sep-19 13:07
Memberjesarg14-Sep-19 13:07 
GeneralRe: Ubuntu Wins (defeats Win10)! Pin
raddevus14-Sep-19 16:00
mvaraddevus14-Sep-19 16:00 
GeneralRe: Ubuntu Wins (defeats Win10)! Pin
Nand3214-Sep-19 18:21
MemberNand3214-Sep-19 18:21 
GeneralRe: Ubuntu Wins (defeats Win10)! Pin
honey the codewitch14-Sep-19 18:24
Memberhoney the codewitch14-Sep-19 18:24 
GeneralRe: Ubuntu Wins (defeats Win10)! Pin
Nand3214-Sep-19 18:31
MemberNand3214-Sep-19 18:31 
GeneralRe: Ubuntu Wins (defeats Win10)! Pin
honey the codewitch14-Sep-19 18:34
Memberhoney the codewitch14-Sep-19 18:34 

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.