|
-
Sep 12th, 2007, 04:35 PM
#11
Thread Starter
Hyperactive Member
Re: Array optimization - String or Integer?
From a brief first reading of Ellis Dee's idea of using a User-Defined Type Array, the following questions pops up:
Will I be able to redim that array with PRESERVE just like normal arrays?
the .info (declared as string) will be filled with data 0.005% of the time. I guess it would be a waste of memory (speed) having that string declaration in there? I mean, even if it was integer! I'll need to know that the "sub-array" I'm browsing right now is, let's say, "252", but I'll only note that down when I'm reaching a new sub-array, I won't be using its content all the time.
Also I don't think the UBound result should be stored in the UDT, since it's pretty static and an outside variable would do the job as well.
Just my first 2 cents.. I'll work a bit on this and see how it goes.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|