On Thu, 17 Jan 2013 01:20:32 -0200 Ulisses Furquim <[email protected]> said:
> Hi, > > On Thu, Jan 17, 2013 at 1:01 AM, Carsten Haitzler <[email protected]> > wrote: > > > > at this stage also gains are "in theory"... still.. in THEORY we will save > > memory - math-wise this makes sense. it depends a lot on "real life data" > > though. also it adds overhead of having to manage this and have extra > > indirections... that comes at a cost... is the cost worth it. only thing i > > worry about with magic numbers is - now an attempt to lean down mem usage > > with some really evil methods bloats things out - so the "cost vs benefit" > > bar moves and moves against doing COW at all... at which point i am > > wondering if it is worth doing at all. i'd rather not go down the path of > > magic numbers and so on until: > > > > 1. we know there is a real measurable win and what it is "in real life". > > 2. we have a good idea of the real life downsides. > > > > this requires some experimental hacking. tbh i dont care if cow is in eina > > or not atm... BUT it's api should not be a supported stable one advertised > > to anyone outside of internal efl use UNTIL we have a good handle on what > > this api is.. how it should work and if it is even useful in the end. :) > > that means if it stays in eina - it is not included in Eina.h - its a > > SPECIAL extra include with nice big fat comments of "don't use this or else > > we will kill you" :) > > Well, yeah, I dislike creating an API and look for a problem > afterwards. Taking the "real life" approach you said is the best thing > we can do, really. yup. so if we see COW as just a blob of shared code in an experiment - then lets treat it as such - for now. figure this out first. make the api totally experimental. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
