efm - make dir listing far faster - no file magic content and dont sync

Desktop / Enlightenment / Enlightenment - Carsten Haitzler (Rasterman) [rasterman.com] - 24 February 2015 03:36 UTC

this speed sup dir listing in efm drastically. first the e fm back end uses an io thread that just spools through everything fast and sends it over the mainloop to then send by ipc to e.

and on the e side we no longer use the heavy file internal magic using api calls that wander all over a file for magic numbers - this is insanely slow and brings listing to a crawl.

c28e582 efm - make dir listing far faster - no file magic content and dont sync
src/bin/e_fm.c | 13 +-
src/bin/e_fm/e_fm_ipc.c | 306 +++++++++++++++--------------------------------
src/bin/e_fm_op.h | 2 +-
3 files changed, 110 insertions(+), 211 deletions(-)

Upstream: git.enlightenment.org


  • Share