Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: SV: Object Design & System Resources


Message #1 by goran.osterman@t... on Thu, 18 Oct 2001 14:32:02 +0200
Alan,
with the little experience I have of using collections, is that the system
resources are not escalating dramatically. I am just rewriting an app where
I keep track of football(european)-players in different teams, divisions and
countries. Earlier I read the info from Access to arrays, but that turned
out to be too complicated to handle. So I rewrote the whole app using
classes and collections. The differens in memory usage is around 5K. I have
added some players and teams, but at the same time the code was trimmed.

Overall I'm very satisfied with the conversion. There is one big problem,
though. At startup I create all classes and collections( at the moment I
only handle UK Premiere League and division 1) but that takes about 1˝
minute. My plan is to make the logic sense whether a collection is created
or not, if it's not then it will be created at the first time it's
referenced.

Since my experience with classes and collections is very limited, I'd
appreciate an experienced comment. Maybe you're right, Alan, though my
experience indicates the contrary. As far as maintenance is concerned, I'm
100% sure that it's a lot easier now than before.

Göran


  Return to Index