HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Software / Tools > Programming, Coding, (Web)Design


Programming, Coding, (Web)Design Discuss all your programming or design needs with likeminded people.

Reply
 
Thread Tools
Old Dec 9, 2003, 06:32 AM   #1
DriverHeaven Lover
 
Join Date: May 2003
Posts: 200
Rep Power: 0
Jincuteguy is on a distinguished road

has table vs stack!

Let say I have a very large data structure which spans several pages of virtual memory, and the the data is organized as either a stack or a hash table. What's the difference on the performance of virtual memory on the stack versus hash table? thx.
Jincuteguy is offline   Reply With Quote


Old Dec 9, 2003, 12:06 PM   #2
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 0
UberLord will become famous soon enough

I don't know that the difference the performance on VM would be, but a hash table would probably be prefered due to faster lookups for specific keys.

Where's a stack would have to be enumerated until you found the key.
__________________
Gentoo Linux - Developer (baselayout)
Read my blog

"I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours."
Stephen Roberts
UberLord is offline   Reply With Quote
Reply

Thread Tools