Page MenuHomePhabricator

evas: changed hash to array for avoiding memory allocation.
AbandonedPublic

Authored by Hermet on Apr 27 2020, 10:05 PM.

Details

Reviewers
smohanty
Summary

in evas_object_child_map_across_mark we create lot of temporary small hash(1 or 2 element)
which does lot of memory allocation. by switching it to eina_array the memory allocation
reduced from 2OK to 6K for elementary_test launch.
As the number of elements in the container are small it will not affect the serach performance even
though we use linear search(with array).

Diff Detail

Repository
rEFL core/efl
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16652
Build 11066: arc lint + arc unit
smohanty created this revision.Apr 27 2020, 10:05 PM

It seems that this patch has no reviewers specified. If you are unsure who can review your patch, please check this wiki page and see if anyone can be added: https://phab.enlightenment.org/w/maintainers_reviewers/

smohanty requested review of this revision.Apr 27 2020, 10:05 PM
Hermet abandoned this revision.Apr 27 2020, 11:10 PM