Ville Voutilainen wrote:
On Tue, Jul 21, 2009 at 5:52 PM, Tobias C. Rittweilertcr@freebits.de wrote:
You don't have to hack that up from scratch, btw: it's what Java's ArrayList does. (Which is not synchronized.)
That's great - I find it a bit hard to find the descriptions for java.utll containers in regards to how they do allocation.
Reading the Java source is about the only way to go about learning implementation details like that. I think it is all in Java, so you don't have reference to native methods.