[fpc-pascal] Feature announcement: Management Operators

Benito van der Zander benito at benibela.de
Sat Mar 4 19:01:07 CET 2017


Hi,

with a function call: http://bugs.freepascal.org/view.php?id=30333


I had benchmark runs where it spend more time in the initializing 
function than doing any calculations

Best,
Benito



On 03/04/2017 06:41 PM, Michael Van Canneyt wrote:
>
>
> On Sat, 4 Mar 2017, noreply at z505.com wrote:
>
>> On 2017-02-28 14:48, Jonas Maebe wrote:
>>> On 28/02/17 21:40, noreply at z505.com wrote:
>>>> What happens with a stack allocated record?
>>>> (no new() required, nor dispose() so is the record ever
>>>> initialized/finalized?)
>>>
>>> Yes, just like records that contain e.g. an ansistring field.
>>>
>>>
>>> Jonas
>>
>>
>> do records which contain ansistring fields have some special stack 
>> initialization system (sorry, I should really read the source code in 
>> this case - still interested in theory of how this works)
>
> Yes. They are initialized.
>
> Michael.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170304/d44851c4/attachment.html>


More information about the fpc-pascal mailing list