Re: Major change proposal

"Mark Hahn" <[email protected]> Thu, 5 Aug 2004 10:28:46 -0700
Newsgroups gmane.comp.lang.prothon.user
Message-ID <001101c47b11$a9e19410$da01a8c0@walker>
Lenard Lindstrom wrote:

> For me one of the big concerns with Prothon is performance. Calculating
the
> C3 resolution order for each attribute lookup is going to be expensive. So
> I am curious as to how well Lieberman's caching scheme will work. I
believe
> the effectiveness of the cache, more than anything, will determine the
ultimate
> fate of Prothon. If prototypes turn out to be too expensive then they will
> be regarded as a specialty tool. So will .Net support the cache?

Yes, this is a big concern.  .Net has a lot of special collection types like
hash tables and dictionaries.  I'm just crossing my fingers that one of
these will work well for my cache.

My biggest concern in this area right now is that I am going to give up my
object locking.  I was going to use that for intelligent cache invalidation.
Lieberman claims in his paper that a dumb scheme will work well. I guess I
will find out.

By the way, Guido was commenting over the weekend that he was never
convinced the extra work for C3 was really needed.  The 2.2 scheme was
pretty good.  As long as you document your scheme a programmer can live with
it.  Of course he also said he thought multiple inheritence was never really
needed either.