An object lesson in blogging and accuracy; was: Efficient "vote counting" with LINQ to Objects – and the value of nothing
Well, this is embarrassing. Yesterday evening, I excitedly wrote a blog post about an interesting little idea for making a particular type of LINQ query (basically vote counting) efficient. It was an idea that had occurred to me a few months back, but I hadn’t got round to blogging about it. The basic idea was to take a completely empty struct, and use that as the element type in the results of a grouping query – as the struct was empty, it would take no space, therefore "huge" arrays could be created for no cost beyond the fixed array overhead, … Continue reading An object lesson in blogging and accuracy; was: Efficient "vote counting" with LINQ to Objects – and the value of nothing