Am Fri, 25 Oct 2013 00:33:40 +0200
schrieb "Namespace" <[email protected]>:

> Another idea would be that every built-in array has a Allocator 
> property which can be set:
> ----
> int[] arr;
> arr.allocator = Mallocator;
> ----

The type of arr.allocator would have to be CAllocator to allow
runtime swapping of allocators with polymorphism.

Would you'd implement it like .capacity, as a virtual property
that doesn't take up space in the slice?

-- 
Marco

Reply via email to