On Fri, Jan 29, 2016 at 10:47 AM, Marco van de Voort <mar...@stack.nl> wrote: > In our previous episode, Marcos Douglas said: >> ... >> But even if you have small objects (max 3-5 methods and few attributes...) >> this >> overhead that you talk about be slow, is still considerable? > > That overhead is not really dependent on the size of the object.
Well, if an object is huge, more overhead to instantiate it. >> In other words, do you consider refcounting always slow in all cases? > > No. Only for the most inner loops. But general container types should not > have such limitations IMHO, which is why I use records in my container lib. I can agree with loops. I didn't understand "container types"... you mean a "bucket of data"? Anyway, I will always prefer objects instead records. Marcos Douglas _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel