On Sun, Sep 8, 2013 at 3:23 PM, David Jeske <[email protected]> wrote:

> If the payload is embedded, then (the start of it) is in the same
> cacheline as the object-header and length, thus one cache-line-load. If you
> move the payload elsewhere in memory, then there is a second cache-line
> loaded for the start of payload. Whether this is relevant or not is related
> to string-length.
>

Lots of assumptions in there. What you say is *sometimes* true, but the
quantitative impact of it really isn't clear on a modern machine without
measuring. There's a couple of sneaky tricks that can be done in the
runtime to get the best of both worlds in the indirected implementation.


shap
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to