On Sat, Sep 3, 2016 at 12:15 PM, Carsten Haitzler <ras...@rasterman.com> wrote:
> Why? This directly impacts design and limitations of EO. It also impacts
> performance. It also impacts safety. This is rather important to settle for
> 1.19 as this lays the base for the future of EFL.

[snip]


> Object *obj  = all_eo_objects[eoid];

Should the table of tables ever free tables? Why do I ask that?
Because the number of Eo_Ids should become stable and
actually spending time freeing for later allocating again seems
wasteful. But even more importantly, it would be possible
for me to implement a lock-free table.

The idea of TLS is not a bad idea anyway, because it avoids
cache thrashing and is an interesting idea for safe-guarding
non-thread-safe objects. However, TLS tables would need
deallocation because threads come and go and might
just create thousands of objects, moving them to another
thread and then just stay idle waiting for events for hours,
wasting a lot of memory in the table.

However, having thread-safe objects through a lock-free table
could still be very valuable, IMO and not freeing entry tables
from Eo_Id table seems like a very reasonable compromise.

[snip]

> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    ras...@rasterman.com

Regards,
-- 
Felipe Magno de Almeida

------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to