Fast persistent immutable data structures