This website requires JavaScript.
Explore
Help
Register
Sign In
kimcinoo
/
efl
forked from
enlightenment/efl
Watch
1
Star
0
Fork
You've already forked efl
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
561f8eaa8f
efl
/
src
/
bin
/
efreet
/
.gitignore
5 lines
90 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Split .gitignore into multiple files Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 12:44:31 -07:00
/efreet_desktop_cache_create
/efreet_icon_cache_create
/efreetd
efreet - save about 240-300k or so of memory used by efreet mime so efreet mime was loading a bunch of mime type info files, parsing them on startup and allocating memory to store all this mime info - globs, mimetype strings and more. all a big waste of memory as its allocated on the heap per process where its the SAME data files loaded every time. so make an efreet mime cache file and a tool to create it from mime files. mmap this file with all the hashes/strings in it so all that data is mmaped once in memory and shared between all processes and it is only paged in on demand - as actually read/needed so if your process doesnt need to know about mime stuff.. it wont touch it anyway. this saves about 240-300k or so of memory in my tests. this has not covered the mime MAGIC files which still consume memory and are on the heap. this is more complex so it will take more time to come up with a nice file format for the data that is nicely mmaped etc. @optimize
2016-08-22 19:59:37 -07:00
/efreet_mime_cache_create