Wednesday, 17 October 2012 Compact Off-Heap Structures/Tuples In Java In my last post I detailed the implications of the access patterns your code takes to main memory. Since then I've had a lot of questions about what can be done in Java to enable more predictable memory layout. There are patterns that can be applied using array backed structures which I will discuss in another post. This post will explore how to simulate a feature sorely missing in Java - arrays of structures similar to what C has to offer. Structures are very useful, both on the stack and the heap.
Read full article from Mechanical Sympathy: Compact Off-Heap Structures/Tuples In Java
No comments:
Post a Comment