[phobos] Clear appending cache?

Andrei Alexandrescu andrei at erdani.com
Thu Nov 18 13:28:43 PST 2010


Related question: can we make Appender a thin wrapper over arrays? It 
looks like improving "~=" caching is the right way to place effort.

Andrei

On 11/18/10 1:15 PM, David Simcha wrote:
> Can someone who knows better than me how it works (probably Steve)
> please put a function in druntime to clear the current thread's array
> appending cache?  I need this for two reasons:
>
> 1.  To make sure arrays I'm done with get GC'd.
>
> 2.  To make it safe(r) to free arrays manually.
>
>
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list