}
@Test
public final void testStructMap() {
Def def = PersistentStructMap.createSlotMap(
new Cons("1", new Cons("2", new Cons("3",null))));
PersistentStructMap<String, Integer> sm = PersistentStructMap.construct(def,
new Cons(1,new Cons(2,new Cons(3,null))));
for (int i=4;i<10000;i++) {
sm = (PersistentStructMap<String, Integer>) sm.assoc(i+"", i);
}
List<Map.Entry<String, Integer>> l = new ArrayList<Map.Entry<String,Integer>>();