Hello Robert,

With the help of Rebol mail list members, I was able to significantly
improve performance of Rebol API. Now the difference with for example
Python, is not so high. I do not believe that it is possible to do
something more in improving performance. Certainly it is possible to
speed up testlink.r (for example by disabling garbage collector),
but such "optimization" is not useful.

The problem with hash table performance is more or less fixed. There
is also yet another problem with Rebol - objects seems to be stored
very inefficiently. Creating 100000 objects with 18 fields (as in
testlink.r example), increase size of rebol.exe till 200Mb.
You can reproduce it if you remove reset-hash in testindex.r, which
cause all 100000 objects to be present in memory.
It will significantly slow down application and you can see a lot of
page faults for Rebol process in Task Manager.
So to achive good performance you should avoid to load a large number of
persistent objects from the database (by periodic hash reset).


-- 
Best regards,
 Konstantin                            mailto:[EMAIL PROTECTED]

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to