|
|
igoro
Stories submitted by igoro
|
|
submitted by
igoro
16 days, 16 hours ago
igoro.com — Big-Oh notation is a simple and powerful way to express how running time of a particular algorithm depends on the size of the input. But, what about the complexity of parallel programs? There are several ways to incorporate this variable into the Big-Oh notation, and I am going to describe them one-by-one. read more...
add a comment
|
category: Patterns | Views: 0
|
|
tags:
Patterns | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 month, 7 days ago, submitted by
igoro
1 month, 7 days ago
igoro.com — Skip lists are a fascinating data structure: very simple, and yet have the same asymptotic efficiency as much more complicated AVL trees and red-black trees. In this article, I discuss the asymptotic efficiency of operations on skip lists, the ideas that make them work, and their interesting use cases. And, of course, I give you the source code for a skip list in C#. read more...
add a comment
|
category: C# | Views: 337
|
|
tags:
Pick, C# | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 2 months, 12 days ago, submitted by
igoro
2 months, 12 days ago
igoro.com — An easy-to-digest high-level summary of concurrency on .Net: what are the different pieces, where they differ and how they relate. If you want to know the difference between a Thread and a BackgroundWorker, or what is the point of interlocked operations, read this article. read more...
add a comment
|
category: C# | Views: 309
|
|
tags:
C# | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
igoro
2 months, 26 days ago
igoro.com — I stumbled upon a neat trick that works in all C-based languages. By composing ternary conditional operators in a particular way, we can express multi-clause if statements in a surprisingly concise and clean way. read more...
add a comment
|
category: C# | Views: 23
|
|
tags:
C# | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
igoro
3 months, 1 day ago
igoro.com — I put together a library of operators that extend LINQ to objects to add a better support for side effects, I/O, conversions, and more. read more...
add a comment
|
category: C# | Views: 17
|
|
tags:
LINQ, C# | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 3 months, 9 days ago, submitted by
igoro
3 months, 9 days ago
igoro.com — Ever since I learned about LINQ, I keep discovering new ways to use it to improve my code. Every trick makes my code a little bit faster to write, and a little bit easier to read. This posting summarizes some of the tricks that I came across. I will show you how to use LINQ to: initialize an array, iterate over multiple arrays in a single loop, generate a random sequence, ... read more...
1 comment
|
category: C# | Views: 646
|
|
tags:
LINQ, C# | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 3 months, 14 days ago, submitted by
igoro
3 months, 14 days ago
codebetter.com — Matthew Podwysocki discusses several present and future approaches to handling concurrency in .Net. From the article: "We need not only a better way to handle concurrency, but a better way to describe them as well. This is where Pi-calculus comes into the picture... But before we get down that beaten path, let's look at a few options that I chose." read more...
add a comment
|
category: Patterns | Views: 213
|
|
tags:
Patterns | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
igoro
3 months, 19 days ago
igoro.com — Quicksort usually runs in O(N log N) time, but in special cases, it takes much longer: O(N^2). It is surprisingly easy to force any quicksort implementation to degrade into the quadratic-time behavior. This trick even works against a randomized quicksort! The article demonstrates how the trick works by applying it against the BCL Array.Sort() routine. read more...
add a comment
|
category: C# | Views: 3
|
|
tags:
CodeThinked, Algorithms, C#, .Net | tag it
Everyones tags: | Your tags: | |
|
|
|
|

Sponsored Link: www.carlist.ie
Ads via The Lounge
|