For the past several weeks I have been trying to comprehend Java and OO modeling. It may not be working too well, as I still don't understand why the ethnic groups have to store the handles for tech objects. Technologies do nothing to define ethnic groups.
Besides, there may be a terrible problem with this. Consider:
Ethnic groups are stored at the mapsquare level, so the number of EG handles will be the number of mapsquares times the number of ethnic groups we define.
If technologies are stored by ethnic group, each of these objects will have hundreds of technology handles inside it. This would mean that we would have hundreds of thousands of handles for the tech objects. It seems to me that that kind of thing would make the program grind to halt.
Come to think of it, that may be why Java programs are so slow. If the language requires those hundreds of thousands of handles to be created in the design, it makes sense that Java can be 10 to 20 times slower than C.
F_Smith: Okay, I saw another complaint about the design of the tech model. From my studies, it seems that we were doing okay. What are we doing wrong this time? I thought you said the outline I posted was okay.
[This message has been edited by Richard Bruns (edited September 15, 2000).]
Besides, there may be a terrible problem with this. Consider:
Ethnic groups are stored at the mapsquare level, so the number of EG handles will be the number of mapsquares times the number of ethnic groups we define.
If technologies are stored by ethnic group, each of these objects will have hundreds of technology handles inside it. This would mean that we would have hundreds of thousands of handles for the tech objects. It seems to me that that kind of thing would make the program grind to halt.
Come to think of it, that may be why Java programs are so slow. If the language requires those hundreds of thousands of handles to be created in the design, it makes sense that Java can be 10 to 20 times slower than C.
F_Smith: Okay, I saw another complaint about the design of the tech model. From my studies, it seems that we were doing okay. What are we doing wrong this time? I thought you said the outline I posted was okay.
[This message has been edited by Richard Bruns (edited September 15, 2000).]
Comment