Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

strange behaviour of 'MOLD ?!?!

 [1/5] from: cyphre:volny:cz at: 25-Sep-2001 17:57


Hi all, Could someone explain this behaviour? I tried this line in /View console(REBOL/View 1.2.1.3.1 21-Jun-2001): s: now/time/precise mold system/view probe now/time/precise - s then tried simmilar line(watch out line break!): view layout [button "test" [s: now/time/precise mold system/view probe now/time/preci se - s]] and pressed button "test" Looks like bug of 'MOLD??? Holger, anyone? regards, Cyphre

 [2/5] from: arolls:idatam:au at: 26-Sep-2001 15:39


Yes, I see the mold seems to take much longer in the button action than in the console. Nearly one second compared to 0.1 second in console.

 [3/5] from: allenk:powerup:au at: 26-Sep-2001 18:20


----- Original Message ----- From: "Anton Rolls" <[arolls--idatam--com--au]> To: <[rebol-list--rebol--com]> Sent: Wednesday, September 26, 2001 3:39 PM Subject: [REBOL] Re: strange behaviour of 'MOLD ?!?!
> Yes, I see the mold seems to take much longer > in the button action than in the console. > Nearly one second compared to 0.1 second in console. >
Just an idea. Could this just be mold dealing with recursive and circular references inside System/View whilst a face is shown? Similar to the old "probe system" (now fixed) gotchya ??? Cheers Allen K

 [4/5] from: arolls:idatam:au at: 26-Sep-2001 19:07


Seems likely, see this:
>> view layout [button "test" [probe length? v: mold system/view]]
1013316
>> length? mold system/view
== 306547 Now for a definitive analysis of where the objects differ... maybe later. Anton. ----------------
> Yes, I see the mold seems to take much longer > in the button action than in the console. > Nearly one second compared to 0.1 second in console. >
Just an idea. Could this just be mold dealing with recursive and circular references inside System/View whilst a face is shown? Similar to the old "probe system" (now fixed) gotchya ??? Cheers Allen K

 [5/5] from: cyphre:volny:cz at: 26-Sep-2001 9:39


Hi Anton, seems you have much faster machine ;-)
>> s: now/time/precise mold system/view probe now/time/precise - s
0:00:00.49 == 0:00:00.49
>> view layout [button "test" [s: now/time/precise mold system/view probe
now/time/precise - s]] 0:00:05.6 ;after pressing button
>>
It looks that some object! somewhere in system/view is bigger when layout is running...
>> view layout [button "test" [s: now/time/precise xx: do mold system/view
[] probe now/time/precise - s]] 0:00:05.93
>> type? xx
== object!
>> s: now/time/precise mold xx probe now/time/precise - s
0:00:05.98 == 0:00:05.98
>>
Anyway, I would apreciate more detailed explanation. Anyone? ;-) regards, Cyphre