On 13-04-01 02:15 AM, Alex Bradbury wrote: > Rust: > 8.9 MiB + 785.0 KiB = 9.7 MiB hello (5) > C: > 452.0 KiB + 55.0 KiB = 507.0 KiB hello (5) > Go: > 1.9 MiB + 520.0 KiB = 2.4 MiB hello (5) > Haskell: > 1.6 MiB + 497.5 KiB = 2.1 MiB hello (5) > Ocaml: > 1.1 MiB + 237.5 KiB = 1.3 MiB hello (5)
I don't know what's going on in your case. When I run this exercise on my machine I get the following: 1.5 MiB + 720.0 KiB = 2.2 MiB hello (5) which looks like about what I'd expect; rust's still a bit big there (some of the segments in libcore are probably still too big) but it is not miles off base. Further scrutiny of the /proc/<pid>/maps and smaps file show similar numbers. Can you look in a little more detail and try to find where the numbers are coming from? -Graydon _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
