Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > Java collection...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 703 of 843
Post > Topic >>

Java collection problem

by "toton" <abirbasak@[EMAIL PROTECTED] > Jul 24, 2006 at 03:11 AM

Hi everyone,
    I need to have alarge array of small class'es (in c# sense struct).
   For premitive types, as the ArrayList stores value types, hence it
is possible to use apache common primitives library to save memory &
cache overflow.
  However, for array of cl*****, which are small enough, I want to
store them as value, so that they occupy contiguous memory space,
rether than heving them referenced from list.
  This is just to decrease cache overflow error & speedup things. Is
there a possible way to do it?.
In general, is there a possible way to locate the class in local stack,
rather than heap or free store? Some common base class or weak
reference type? 


 abir
 




 6 Posts in Topic:
Java collection problem
"toton" <abi  2006-07-24 03:11:34 
Re: Java collection problem
peter d <spam@[EMAIL P  2006-07-25 03:21:16 
Re: Java collection problem
Andrew Reilly <andrew-  2006-07-25 13:43:16 
Re: Java collection problem
"toton" <abi  2006-07-24 22:15:17 
Re: Java collection problem
"Chris Uppal" &  2006-07-25 09:21:37 
Re: Java collection problem
peter d <spam@[EMAIL P  2006-07-25 14:44:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 15:12:56 CST 2008.