freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freepooma-devel] Re:Efficiently replicating slices?


From: ron hylton
Subject: [Freepooma-devel] Re:Efficiently replicating slices?
Date: Thu, 20 Jan 2005 17:49:59 -0500

Richard,

Are the duplicate slices going to remain duplicate? If so you could write an engine that wraps a single non-redundant slice and refers all accesses to it.

If the copies might change independently you could in principle do copy-on-write but this is getting complicated and the efficiency will depend on the details of what you're doing. I think there's an engine that does something along the lines of providing demand-zero slices, maybe you could use or modify this.

You could also use this technique only on the right-hand side of the assignment. This would save the explicit loop but probably wouldn't help performance unless the compiler could see what was going on and was very clever about rearranging loops.

Ron






reply via email to

[Prev in Thread] Current Thread [Next in Thread]