Emmanuele Bassi
f935270aa0
script: Do not allocate memory when not needed
...
When printing out the property value during a ClutterScript debug run we
generate the value's content using g_strdup_value_contents() - though we
do it unconditionally. The contents might not be printed (they most
likely won't, actually) and will be freed afterwards. This is
unnecessary: we can allocate the contents string after checking if we're
going to print out the debug note, thus avoiding the whole
allocation/free cycle unless strictly needed.
2010-03-19 16:24:34 +00:00
..
2010-03-19 11:23:48 +00:00
2010-03-05 08:48:52 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-19 11:41:12 +00:00
2010-03-19 11:13:04 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-03 17:46:53 +00:00
2010-03-19 16:24:34 +00:00
2010-03-02 17:19:11 +00:00
2010-03-01 12:56:10 +00:00
2010-03-02 11:12:32 +00:00
2010-02-25 12:01:03 +00:00
2010-03-03 15:53:07 +00:00
2010-03-02 17:03:03 +00:00
2010-03-17 17:40:34 +00:00
2010-02-17 17:46:48 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-03 10:47:42 +00:00
2010-03-02 11:12:32 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-02 11:12:32 +00:00
2010-03-02 17:19:11 +00:00
2010-02-17 17:46:48 +00:00
2010-03-02 11:12:32 +00:00
2010-03-01 12:56:10 +00:00
2010-02-17 18:21:50 +00:00
2010-03-18 14:15:33 +00:00
2010-02-24 12:25:53 +00:00
2010-03-01 12:56:10 +00:00
2010-03-02 15:11:27 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-02-26 11:19:26 +00:00
2010-02-17 18:21:50 +00:00
2010-02-25 10:22:36 +00:00
2010-03-01 12:56:10 +00:00
2010-02-25 10:22:36 +00:00
2010-03-01 12:56:10 +00:00
2010-03-17 17:40:34 +00:00
2010-03-02 11:12:32 +00:00
2010-03-17 17:14:08 +00:00
2010-03-17 17:40:34 +00:00
2010-03-01 15:25:45 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-18 20:20:09 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-02 11:12:32 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-02-18 17:01:57 +00:00
2010-03-03 10:49:34 +00:00
2010-03-02 17:19:11 +00:00
2010-03-02 17:19:11 +00:00
2010-03-02 17:19:11 +00:00
2010-02-03 14:38:13 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-19 10:29:53 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-02 11:12:32 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 15:25:45 +00:00