CVSROOT: /cvs/gnome Module name: libgtop Changes by: bdejean 05/12/07 04:35:53
Modified files: sysdeps/linux : ChangeLog procmap.c Log message: * procmap.c: (glibtop_get_proc_map_s): Small improvements. Use g_array_sized_new instead of g_array_new with reserved_size = 100. Don't use g_array_append_val to avoid copying glibtop_map_entries. Use g_array_set_size(size + 1) instead. I've run a little python benchmark and this shows a little speedup. I hope this would be more sensible in gnome-system-monitor (glibtop_get_procmap is intensively used for the 'Writable Memory' column). URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=libgtop&who=bdejean&date=explicit&mindate=2005-12-07%2004:34&maxdate=2005-12-07%2004:36 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list