Re: How do you copy an array?
- From: "Tim Bradshaw" <tfb+google@xxxxxxxx>
- Date: 30 Aug 2006 03:19:34 -0700
Barry Margolin wrote:
You could use displaced arrays:
Completely at a tangent, but displaced arrays probably have exciting
performance implications because of aliasing &c. Though it may
actually be that there isn't an issue because you can always tell early
enough whether or not two arrays share storage that you can raise it
out of any loop (in fact that must be the case I think). I guess
serious compilers would then have to be willing to generate different
code paths for the two cases though.
--tim
.
- References:
- How do you copy an array?
- From: Dan Bensen
- Re: How do you copy an array?
- From: Barry Margolin
- How do you copy an array?
- Prev by Date: Re: Java is going to have closures.
- Next by Date: Re: Lets talk about GUI and sound libraries
- Previous by thread: Re: How do you copy an array?
- Next by thread: Re: How do you copy an array?
- Index(es):