Tag: Development

Community

Understanding WPF via ASP.NET

(Pete O’Hanlon) Like many people, I struggled to get to grips with WPF because it seemed so “alien” when programming a desktop based application. It seemed so different, and I just couldn’t apply knowledge that I already had – and then one day, it hit me. I’d been approaching this from the wrong ang

Community

Using JSON with ASP.NET 3.5

(Thiru Thangarathinam) Almost any application that you write will involve exchanging data from a client application to the server. This process involves selecting a data format and exchange protocol that will be required to enable this communication. When it comes to selecting these data formats, yo

Community

A Performance Problem

(Jim Mischel) The code above will work for any arbitrary values of ARRAY_SIZE and MAX_CHUNK_SIZE, but the merge algorithm has a serious flaw that becomes apparent as the number of items increases. For example, here are sample merge execution times (after the individual chunks are sorted) for differe

Community

Merging the Chunks

(Jim Mischel) The merge process really is a simple loop, as I showed in the pseudo code earlier. All we have to do is initialize the output (an array in this case), and then perform the merge loop until weve exhausted all of the chunks.