Stories recently tagged with 'Stack'

A* pathfinding search in C# - Part 1(leniel.net)

submitted by lenielleniel(489) 2 years, 7 months ago

Standing on the shoulders of giants just like Eric Lippert, this is my try to create a running sample of the code he has presented in his magnific series of posts titled Path Finding Using A* in C# 3.0. Eric wrote the base structure of the A* pathfinding algorithm but didn’t provide a complete running sample. I basically added some code I had already posted on the series of posts titled Breadth and depth first search and created some properties here and there to get the whole thing running. It’s nothing more than code reuse. In this implementation you'll find interesting data structures as a priority queue and and immutable stack. read more...

add a comment |category: |Views: 147

tags: another

Increasing the Size of your Stack (.NET Memory Management: Part 3) (atalasoft.com)

submitted by RickasaurusRickasaurus(1225) 3 years, 9 months ago

Following from my previous post on the topic of stack allocation, in this post I talk about three different ways to change a thread's stack size in C#. Each of these techniques have advantages and disadvantages which I discuss as well. This post may also be of interesting to those learning about PInvoke or modifying the binary header. read more...

add a comment |category: |Views: 121

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

C# Heap(ing) Vs Stack(ing) in .NET(c-sharpcorner.com)

submitted by gavinjoycegavinjoyce(25.7k) 5 years ago

Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article I'll cover some of the behaviors we need to be aware of when passing parameters to methods. read more...

add a comment |category: |Views: 45

tags: another