!7 sclass A { int a; [stdEq] } sclass B extends A { int b; [stdEq] } static int n = 500000; p { final new L l; for (int i = 0; i < n; i++) { l.add(nu(A, a := 1)); l.add(nu(B, a := 2, b := 3)); } print("Objects: " + l(l)); structure_showTiming = true; fS struct = struct(l); L unstructd = cast unstructure(struct); // pre-run assertEquals(l(l), l(unstructd)); // sanity check poorMansProfileToConsole(r { L unstructd = cast unstructure(struct); assertEquals(l(l), l(unstructd)); // sanity check }); }