realbasic-plugins
[Top] [All Lists]

Re: Wow, REALGetPropValue is very slow.

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Wow, REALGetPropValue is very slow.
From: Ruslan Zasukhin <sunshine at public dot kherson dot ua>
Date: Wed, 03 Jan 2007 17:13:31 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
Thread-index: AccvSbpq+QrmYps8Edu4AAANkzDgag==
Thread-topic: Wow, REALGetPropValue is very slow.
Hi REAL,

I wonder if somebody know, if this issue was resolved
during the last 1.5 years ?


On 05/5/5 11:24 PM, "Ruslan Zasukhin" <sunshine at public dot kherson dot ua> 
wrote:

> Hi All,
> 
> I have play with one test example, and have found that if to use
> 
>     Vfield.Value        which is variant
> 
> Instead of using the types values of each clas
>     Vshort.Value  Vlong.Value, ...
> 
> Then we get almost 100 times slower work.
> 100 times, exactly! 98 seconds vs about 1 second.
> 
> 
> I have check by profiler, and see that problem is with REALGetPropValue().
> It eats 98% of test.
> 
> REAL, I think here you must improve a lots something...
> May be you use linear search to find property ?
> 
> 
> ATTENTION:
>     so for all Valentina users,
>     I will recommend NOT to use Vfield.Value as Variant.
> 
> We could expect that variant will require some payment for comfort.
> But 100 times slow down is not acceptable IMHO.
> At least you should avoid it in tight loops.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>