Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib Modified Files: Evas.h Log Message: Did some cache miss profiling with a large number of transient text objects and found that reordering the evas list containing the font path list was actually hurting cache performance. Frequent cache misses occurred in evas_mempool_free in it's main loop. So removing the list node and re adding it actually decreased cache performance in some cases. This would also cause memory allocation bouncing if mempools were not used. Added evas_list_promote_list to move a list node to the beginning of a list. Changed reordering lists to use evas_list_promote_list. =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/Evas.h,v retrieving revision 1.87 retrieving revision 1.88 diff -u -3 -r1.87 -r1.88 --- Evas.h 3 Aug 2006 02:14:53 -0000 1.87 +++ Evas.h 4 Aug 2006 10:00:49 -0000 1.88 @@ -319,6 +319,7 @@ EAPI Evas_List *evas_list_prepend_relative_list (Evas_List *list, const void *data, Evas_List *relative); EAPI Evas_List *evas_list_remove (Evas_List *list, const void *data); EAPI Evas_List *evas_list_remove_list (Evas_List *list, Evas_List *remove_list); + EAPI Evas_List *evas_list_promote_list (Evas_List *list, Evas_List *move_list); EAPI void *evas_list_find (Evas_List *list, const void *data); EAPI Evas_List *evas_list_find_list (Evas_List *list, const void *data); EAPI Evas_List *evas_list_free (Evas_List *list); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs