Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How to destory/delete objects?
Index -> Programming, Turing -> Turing Help
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
copthesaint




PostPosted: Thu May 12, 2011 11:03 pm   Post subject: Re: How to destory/delete objects?

You can always use demonwasps Hashmap. Very usefull collections are, and very efficent.

http://compsci.ca/v3/viewtopic.php?t=20302&highlight=hashmap
Sponsor
Sponsor
Sponsor
sponsor
tyuo9980




PostPosted: Fri May 13, 2011 4:54 pm   Post subject: Re: RE:How to destory/delete objects?

Tony @ Thu May 12, 2011 9:56 pm wrote:
it sounds like you'll be using a lot more CPU resources doing the sorting.

Also, it wouldn't be necessary to sort anything, if your array contains only the elements that are alive.


yea true. if alive then draw.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 17 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: