[Oberon] Dynamic local array implementation

Luca Boasso luke.boasso at gmail.com
Sun Oct 15 18:20:32 CEST 2017

> Note that this can cause aliasing problems, expecially in
> multithreading programs. One has to copy the content of
> the structure parameter in a local variable to make sure
> that it remains constant (and consistent) during the whole
> processing.
> There are also cases where the content is processed so many
> times that the cost of dereferencing is higher than the cost of
> the (initial) copying.

Very good points!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20171015/71e9997a/attachment.html>

More information about the Oberon mailing list