Author Topic: Text Resources and Heap Space  (Read 2964 times)

0 Members and 1 Guest are viewing this topic.

Offline Doan Sephim

Text Resources and Heap Space
« on: March 30, 2007, 10:55:56 PM »
I have started using text resources in my programming to avoid my scripts becoming unnecessarily large and I understand that the larger the script is, the more heap space it takes up, which can lead to difficulties later. But where do the text resources take up space? Do they take up hunk space, or do they somehow transcend both heap and hunk not taking up either...and if so, where do they take up space??


Artificial Intelligence Competition

Offline Eigen

Re: Text Resources and Heap Space
« Reply #1 on: March 31, 2007, 03:45:40 PM »
I presume they are read directly from the resource file and not stored in game's memory as there's no need. The scripts have to be in the memory all the time and 100%, because the game needs to read and interpret any part of code any given time. I could be wrong because I really don't know. I just wanted to sound smart ;)
Artificial Intelligence Competition


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.041 seconds with 24 queries.