On Data Structures and Memory Models