From: Iain A. <ia...@co...> - 2005-03-03 23:47:04
|
I also hope to have some time over the weekend to actually write some code, in the meantime a few points for Erik: Using DOM does mean that you do have the document in memory twice for a short period of time, however the DOM version can be discarded and garbage collected once its contents have been read. Since we are having multiple config files (one per component), only one at a time will need to be in memory twice, and the files are going to be pretty small anyway. I hope to provide some XML reading utility code to help this get moving. You are almost correct about the singleton pattern usage, don't jump in on that yet, I'll post more details in the next couple of days about how to do this right (just don't have time today, I'm afraid). Linear stock markets are a special case of two dimensional rectangular ones: they just have exactly one row. I don't think rectangular AND hexagonal is that hard to do; again I'll try and post more on this in the next few days. Iain. |