By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,350 Members | 1,309 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,350 IT Pros & Developers. It's quick & easy.

"struct" vs. assoc. array

P: n/a
Hi all,

to handle a collection of data, I could use an associative array or a class.
Provided I don't need any of the functionalities classes offer, i.e. use
it as a struct, what is the better option in terms of speed?
Cheers
Frank
Jul 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Frank Passek:
Hi all,

to handle a collection of data, I could use an associative array or a
class. Provided I don't need any of the functionalities classes offer,
i.e. use it as a struct, what is the better option in terms of speed?


Use whatever you prefer. If you're worried about speed, profile the code.

André Nęss
Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.