Hi Elias, there are actually more cases. For example: (5 5↑A)←B This is like left values in C/C++. I would agree that unnecessary cloning should be avoided. But that needs to be done in a way that can be proven to be correct (and without complex data structures managing ownership of values). In the past even a rather simple flag scheme has turned out to be non-maintainable and I would not like to walk on such a path again. You can have a look at tags/apl-1.1-old-memory-management/ in SVN to see how to not do things. /// Jürgen On 08/24/2014 05:01 PM, Elias Mårtenson
wrote:
|
- [Bug-apl] Optimizations revived Juergen Sauermann
- Re: [Bug-apl] Optimizations revived Elias Mårtenson
- Re: [Bug-apl] Optimizations revived Juergen Sauermann
- Re: [Bug-apl] Optimizations revived Elias Mårtenson
- Re: [Bug-apl] Optimizations revived Juergen Sauermann
- Re: [Bug-apl] Optimizations revive... Elias Mårtenson
- Re: [Bug-apl] Optimizations re... Juergen Sauermann
- Re: [Bug-apl] Optimizations re... blake1024
- Re: [Bug-apl] Optimization... Juergen Sauermann