Hi Jon
Purely functional structures like you say are fragmented in the heap so that would also mean , cpu cache locality suffer and hence more cache misses than a traditional imperative array backed mutable structures?
On Friday, November 30, 2012 3:24:12 PM UTC, Jon Harrop wrote:
> A lot of complexity in low latency general purpose GCs comes from handling
>
> arbitrarily-large objects, arrays and thread stacks.
>
>
>
> Traditional functional data structures are fragmented into many tiny parts,
>
> which makes it easy to write a traditional Dijkstra-style incremental
>
> tricolor marking phase. CPS can be used to eliminate the stack. If you can
>
> bound the max allocation size then you could even use something like Baker's
>
> treadmill for easy real-time collection.
>
>
>
> Cheers,
>
> Jon.
>
>
>
> > -----Original Message-----
>
> > From: Malcolm Matalka [mailto:mmat...@gmail.com]
>
> > Sent: 30 November 2012 11:32
>
> > To: Jon Harrop
>