V4CC - garbage collection question
Dave Parizek
dave at janesoftware.com
Wed Sep 20 13:47:50 CDT 2006
Yes, I know Valentina is super fast. yes, I read his testimonial -
it is what got me started switching from RB to Cocoa - before I was
staying with RB because I wanted to stay with Valentina.
I was not referring to the relative speed of the different database
products, I was just trying to informally look at garbage collection
versus no garbage collection. I was just saying that
(Valentina on RB WITH Garbage Collection) is WAY faster than
(CoreData or MySQL on Cocoa WITHOUT Garbage Collection)
- so I was saying garbage collection is not necessarily slow per se.
But perhaps that is only because Valentina is sooooo fast it makes
up for RB's GC and then some.
Although it appears the way Apple is implementing GC that it will
cause performance problems in some cases, and those some cases
probably include using it with Valentina and large data sets. If I
am understanding it correctly, and to put it very simply, RB's
garbage collector just has to periodically kill those objects that
are already marked for deletion, whereas Cocoa's GC will have to
periodically scan ALL/MANY objects - to find which to delete, which
(even though they do tricks to make it less noticeable) could be very
time consuming if you have millions of objects.
Hence the conclusion that it is best to not use GC with V4CC now, and
maybe not ever, but to instead stick with Cocoa + Valentina + NO GC.
--Dave
On Sep 20, 2006, at 1:14 PM, Ruslan Zasukhin wrote:
> If you have see slow issue in CocoaMySQL then let me ask:
>
> you mean that you have try to browse table with a lots of records?
>
> I think this not works good for mySQL, because they use only client-
> side
> cursors. You need load only few records to client RAM.
>
>
> ------
> Isale...CoreData :-) nope, 3 times :-) :-) :-)
>
> CoreData is based on SQLLite. So why you want to see here high
> performance?
>
> WE all here know that SQL Lite is much slower of Valentina
> Even if REAL and Apple will prove to the whole world that it is not
> true.
>
>
> Dave, have you see on our testimonials page quote from Justin Druri?
> Read it if you have not yet.
More information about the Valentina-beta
mailing list