Stories recently tagged with 'Recursion'

Being recursive(www.smelser.net)

submitted by JoeGeekyJoeGeeky(359) 1 month ago

This is a nice article about making recursive calls more efficient in .NET. read more...

add a comment |category: |Views: 12

tags: another

Tail recursion in C#(tomlev2.wordpress.com)

submitted by tom103tom103(96) 5 months, 5 days ago

This article briefly explains what tail recursion is, and explores various ways to implement it in C#. read more...

8 comments |category: |Views: 78

tags: another

Expose New Linq Operations from the HashSet<T> Performance Monster(blog.domaindotnet.com)

submitted by dcarrdcarr(790) 3 years, 5 months ago

Linq is not just about databases. It’s about reading the registry, your hard-disk, or even a list of function pointers to be invoked. Linq is about more event then sets (collections). It’s about making tasks easier in many cases and vastly more powerful (and most importantly your code more readable and maintainable at the same time). It’s astounding just how fast the HashSet<T> collection is. This post will show how to gain additional power that is fully supported from Microsoft which is often overlooked, yet it can solve some of the hardest problems (especially around performance however don’t prematurely optimize!). Linq, HashSet, ORM, NHibernate, Linq to NHibernate, Linq Undocumented, Functional Programming, .NET 3.5 read more...

3 comments |category: |Views: 529

tags: another

I've got 99 Problems But a Glitch Ain't One : Problem 7 (F#)(frickinsweet.com)

submitted by dengar007dengar007(3084) 3 years, 11 months ago

Solution to Problem #7 of 99 Problems in F# (Flatten a nested list structure using recursion). read more...

1 comment |category: |Views: 39

tags: another

Anonymous Recursion(wesnerm.blogs.com)

submitted by wesnermwesnerm(220) 4 years, 11 months ago

Anonymous recursion for lambda expressions and anonymous delegates in C# can be implemented using an implementation of the Y Combinator as well as a more efficient procedural approach with assignment. This article also explains how the use of the technique for representation lambda expressions renditions of values changed by loops in the static analysis tool, NStatic. read more...

1 comment |category: |Views: 45

tags: another

Replacing Recursion With a Stack(haacked.com)

submitted by HaackedHaacked(5105) 4 years, 11 months ago

This post demonstrates how a recursive method can be replaced with a non-recursive method by using a Stack collection. read more...

add a comment |category: |Views: 180

tags: another