git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@70608
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
2012-04-30 Jérôme Pinot
* Add missing files in the tarballs.
+
+2012-05-02 Cedric Bail
+
+ * Doing less allocation and reuse Evas_Map does help.
Changes since Edje 1.2.0:
-------------------------
+Improvements:
+ * Allocate once and reuse Evas_Map.
+
Fixes:
* Add missing files in the tarballs.
else mo = ep->object;
if (chosen_desc->map.on)
{
- Evas_Map *map;
+ static Evas_Map *map = NULL;
ed->have_mapped_part = 1;
// create map and populate with part geometry
- map = evas_map_new(4);
+ if (!map) map = evas_map_new(4);
evas_map_util_points_populate_from_object(map, ep->object);
if (ep->part->type == EDJE_PART_TYPE_IMAGE)
{
evas_object_map_set(mo, map);
evas_object_map_enable_set(mo, 1);
- evas_map_free(map);
}
else
{