[Sablevm-developer] bidirectional object speedup
Brought to you by:
egagnon
From: Archie C. <ar...@de...> - 2003-01-21 18:34:04
|
Etienne- It was interesting to read in the dissertation that the bidirectional object layout didn't contribute as much speedup as one might expect. I wonder about trying a slight modification to help this- changing the way reference arrays are indexed so that they array elements are stored in-order instead of backwards. This would require a little extra computation, since the array length must be included in every element access, but the theory is that most array elements are read in-order and that memory is optimized for sequential access (similar to filesystems) rather than reverse access. I don't know enough specifics about whether this really makes sense or not, but it might make for an interesting experiment. Just a thought :-) Cheers, -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com |