Re: g_read uses 24KB Global Stack.

Daniel Diaz <[email protected]>
Newsgroups gmane.comp.gnu.prolog.bugs
Message-ID <[email protected]>
Hi Ron,

obviously this depends on what you read (what term is stored in the 
global variable) and how (is this inside a loop?). Recall that g_read 
performs a copy of the global variable inside the heap. So you create a 
new term on the heap each time.

Ron Stodden wrote:
> Ron Stodden wrote:
> 
>> A suspected bug to report:
>>
>> Mandrake 9.0,  gprolog-1.2.16-1.i386.rpm
>>
>> The Global Stack increases by about 24KB for each invocation of g_read.
>>
>> How could this possibly be?
>>
>> However, it produces correct results.
> 
> 
> 4 days later and NO response?
> 
> Is anybody home?
> 



--
Ce message a subi une analyse antivirus 
par MailScanner ; il est vraisemblablement
sans danger.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.