Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataTables vs. Arrays

Status
Not open for further replies.

digiduck

Programmer
Apr 4, 2003
95
US
I'm writing a component that use datatables to store mostly key / value pairs. The value is an object, another class in the component actually. The key is a string. Should I look into using arrays or hashtables instead of datatables to save memory? Input is appreciated.
 
digiduck,

Won't make an awful lot of difference. Do it if you need the memory but personally, I wouldn't worry unless it becomes an issue. Sure you can spend you time better!

Craig
 
alright thanks. I'll leave it as something in my 'like to do' list for now then. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top