Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by JeyKey II. 11/25/26 09:53
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (Martin_HH, JeyKey II, VoroneTZ), 7,928 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
text.string memory? #176720
01/06/08 11:41
01/06/08 11:41
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
hi!
I'm creating a (possibly) very long list of string. it varies in length every time you run the game.
I'm using text.string for the list elements, and now I'm trying to figure out: if the list is 100 elements long, and I have ste the text.strings variable to 150, do the 50 empty strings take up any memory? Cause if not, I can set the text.strings variable to a very high number. that way the list can get very long, and I can display all the data, without having a performance loss or too much memory used up when the list is shorter than it's maximum length...

Micha


~"I never let school interfere with my education"~
-Mark Twain
Re: text.string memory? [Re: Germanunkol] #176721
01/06/08 19:44
01/06/08 19:44
Joined: Jun 2004
Posts: 12
cweth Offline
Newbie
cweth  Offline
Newbie

Joined: Jun 2004
Posts: 12
I would think it would take up space in memory, probably the minimum space allowable for the data type each element is holding, a string in this case. But i don't know for certain.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1