Click here to Skip to main content
14,428,239 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: Actually surprised the media could even produce such junk Pin
CodeWraith18-Sep-19 0:09
MemberCodeWraith18-Sep-19 0:09 
GeneralRe: Actually surprised the media could even produce such junk Pin
Munchies_Matt17-Sep-19 23:28
MemberMunchies_Matt17-Sep-19 23:28 
GeneralRe: Actually surprised the media could even produce such junk Pin
ZurdoDev18-Sep-19 2:04
mveZurdoDev18-Sep-19 2:04 
GeneralRe: Actually surprised the media could even produce such junk Pin
Munchies_Matt18-Sep-19 2:15
MemberMunchies_Matt18-Sep-19 2:15 
GeneralRe: Actually surprised the media could even produce such junk Pin
ZurdoDev18-Sep-19 3:10
mveZurdoDev18-Sep-19 3:10 
GeneralRe: Actually surprised the media could even produce such junk Pin
Slacker00718-Sep-19 2:36
professionalSlacker00718-Sep-19 2:36 
GeneralRe: Actually surprised the media could even produce such junk Pin
Munchies_Matt18-Sep-19 2:37
MemberMunchies_Matt18-Sep-19 2:37 
Generaland after all that Pin
honey the codewitch17-Sep-19 19:20
mvahoney the codewitch17-Sep-19 19:20 
so i rolled my own B+ tree and it performed pretty well.

but then i ran Microsoft's KwData B+ tree side by side and it did slightly better.

i thought, that's weird, Microsoft's is usually a dog.

Well, it turns out, the SortedDictionary was causing so much GC churn that the b+tree ended up paying for it down the line.

Take the other dictionaries out of the test scenario and it speeds up nicely.

This is why I hate perf testing in .NET. The GC wildcard.

And I can't suspend the GC *and* hold a million items in memory, so that's out.

*headdesk*

a day of work for nothing, or at least, for nothing other than learning the GC was bombing my test numbers.
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: and after all that Pin
Super Lloyd17-Sep-19 19:38
MemberSuper Lloyd17-Sep-19 19:38 
GeneralRe: and after all that Pin
honey the codewitch17-Sep-19 19:41
mvahoney the codewitch17-Sep-19 19:41 
GeneralRe: and after all that Pin
Super Lloyd17-Sep-19 19:45
MemberSuper Lloyd17-Sep-19 19:45 
GeneralRe: and after all that Pin
honey the codewitch17-Sep-19 19:46
mvahoney the codewitch17-Sep-19 19:46 
GeneralRe: and after all that Pin
Super Lloyd17-Sep-19 19:47
MemberSuper Lloyd17-Sep-19 19:47 
GeneralRe: and after all that Pin
honey the codewitch17-Sep-19 19:57
mvahoney the codewitch17-Sep-19 19:57 
GeneralRe: and after all that Pin
Super Lloyd17-Sep-19 20:09
MemberSuper Lloyd17-Sep-19 20:09 
GeneralRe: and after all that Pin
honey the codewitch17-Sep-19 20:10
mvahoney the codewitch17-Sep-19 20:10 
GeneralRe: and after all that Pin
Richard Deeming18-Sep-19 2:06
communityengineerRichard Deeming18-Sep-19 2:06 
GeneralRe: and after all that Pin
honey the codewitch18-Sep-19 2:43
mvahoney the codewitch18-Sep-19 2:43 
Generali am a monster Pin
honey the codewitch17-Sep-19 14:25
mvahoney the codewitch17-Sep-19 14:25 
GeneralRe: i am a monster Pin
Greg Utas17-Sep-19 17:35
professionalGreg Utas17-Sep-19 17:35 
GeneralRe: i am a monster Pin
Super Lloyd17-Sep-19 17:30
MemberSuper Lloyd17-Sep-19 17:30 
GeneralRe: i am a monster Pin
honey the codewitch17-Sep-19 17:32
mvahoney the codewitch17-Sep-19 17:32 
GeneralRe: i am a monster Pin
BillWoodruff17-Sep-19 19:48
mveBillWoodruff17-Sep-19 19:48 
GeneralRe: i am a monster Pin
honey the codewitch17-Sep-19 19:58
mvahoney the codewitch17-Sep-19 19:58 
GeneralRe: i am a monster Pin
Marc Clifton18-Sep-19 4:02
communityengineerMarc Clifton18-Sep-19 4:02 

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.