[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [computer-go] space efficiency in C++



At 05:58 PM 4/23/2005, you wrote:
...I'm using C++, ... My implementation of the Standard C++ Library seems to allocate space for each list in batches of 256 links (which I suspect is typical). This leads to my tree occupying about 100 times as much space as it should.
see if your compiler supports the placement form of new: http://www.adtmag.com/joop/crarticle.asp?ID=1557 and try that if it does.

thanks

---
ray tayek <http://tayek.com/>, co-chair <http://www.ocjug.org/>, actively seeking telecommuting work.

_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/