Click here to Skip to main content
14,540,070 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
CodeWraith17-Sep-19 23:09
MemberCodeWraith17-Sep-19 23:09 
GeneralRe: Actually surprised the media could even produce such junk Pin
Munchies_Matt17-Sep-19 22:28
MemberMunchies_Matt17-Sep-19 22:28 
GeneralRe: Actually surprised the media could even produce such junk Pin
ZurdoDev18-Sep-19 1:04
mveZurdoDev18-Sep-19 1:04 
GeneralRe: Actually surprised the media could even produce such junk Pin
Munchies_Matt18-Sep-19 1:15
MemberMunchies_Matt18-Sep-19 1:15 
GeneralRe: Actually surprised the media could even produce such junk Pin
ZurdoDev18-Sep-19 2:10
mveZurdoDev18-Sep-19 2:10 
GeneralRe: Actually surprised the media could even produce such junk Pin
Slacker00718-Sep-19 1:36
professionalSlacker00718-Sep-19 1:36 
GeneralRe: Actually surprised the media could even produce such junk Pin
Munchies_Matt18-Sep-19 1:37
MemberMunchies_Matt18-Sep-19 1:37 
Generaland after all that Pin
honey the codewitch17-Sep-19 18:20
mvahoney the codewitch17-Sep-19 18: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 18:38
MemberSuper Lloyd17-Sep-19 18:38 
GeneralRe: and after all that Pin
honey the codewitch17-Sep-19 18:41
mvahoney the codewitch17-Sep-19 18:41 
GeneralRe: and after all that Pin
Super Lloyd17-Sep-19 18:45
MemberSuper Lloyd17-Sep-19 18:45 
GeneralRe: and after all that Pin
honey the codewitch17-Sep-19 18:46
mvahoney the codewitch17-Sep-19 18:46 
GeneralRe: and after all that Pin
Super Lloyd17-Sep-19 18:47
MemberSuper Lloyd17-Sep-19 18:47 
GeneralRe: and after all that Pin
honey the codewitch17-Sep-19 18:57
mvahoney the codewitch17-Sep-19 18:57 
GeneralRe: and after all that Pin
Super Lloyd17-Sep-19 19:09
MemberSuper Lloyd17-Sep-19 19:09 
GeneralRe: and after all that Pin
honey the codewitch17-Sep-19 19:10
mvahoney the codewitch17-Sep-19 19:10 
GeneralRe: and after all that Pin
Richard Deeming18-Sep-19 1:06
mveRichard Deeming18-Sep-19 1:06 
GeneralRe: and after all that Pin
honey the codewitch18-Sep-19 1:43
mvahoney the codewitch18-Sep-19 1:43 
Generali am a monster Pin
honey the codewitch17-Sep-19 13:25
mvahoney the codewitch17-Sep-19 13:25 
GeneralRe: i am a monster Pin
Greg Utas17-Sep-19 16:35
professionalGreg Utas17-Sep-19 16:35 
GeneralRe: i am a monster Pin
Super Lloyd17-Sep-19 16:30
MemberSuper Lloyd17-Sep-19 16:30 
GeneralRe: i am a monster Pin
honey the codewitch17-Sep-19 16:32
mvahoney the codewitch17-Sep-19 16:32 
GeneralRe: i am a monster Pin
BillWoodruff17-Sep-19 18:48
mveBillWoodruff17-Sep-19 18:48 
GeneralRe: i am a monster Pin
honey the codewitch17-Sep-19 18:58
mvahoney the codewitch17-Sep-19 18:58 
GeneralRe: i am a monster Pin
Marc Clifton18-Sep-19 3:02
mvaMarc Clifton18-Sep-19 3: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.