realbasic-nug
[Top] [All Lists]

Re: FolderItem weirdness

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: FolderItem weirdness
From: Erne <erne at apimac dot com>
Date: Fri, 31 Mar 2006 16:31:14 +0200
Delivered-to: realbasic-nug at lists dot realsoftware dot com
on 31-03-2006 16:14, Maximilian Tyrtania at Mty at Fischerappelt dot de wrote:

> Hi,
> 
> 0.3 seconds, that should be plenty.
> 

I'll try that , thanx!

> -> Maximilian Tyrtania | Mty at fischerAppelt dot de
> fischerAppelt Kommunikation GmbH
> Tucholskystr. 18 | D-10117 Berlin | Germany
> Tel. ++49-30-726146-728 | Fax ++49-30-726146-710
> www.fischerAppelt.de
> _______________________________________________________________
> +++mamamoto, die Initiative von Ligalux für ein neues Familienbild, ist am
> 10. März in Hamburg gestartet.
> Damit Familie wieder sichtbar Spaß macht ­ http://www.mamamoto.de+++
> -- 
> 
> 
> 
> 
>>> I also encountered a problem like this one recently. In my case it was
>>> Norton Antivirus inspecting a newly created file (that I created via
>>> gettemporaryfolderitem), what in turn made f.createbinaryfile return error
>>> 104 (file in use).
>>> 
>>> I found the MBS-function delayMBS optimal to insert a little delay after
>>> creating the new file, and haven't encountered any problem since.
>>> 
>> 
>> I'm trying to solve a similar problem reported by some users but that I
>> can't reproduce
>> 
>> What delay do you set?
>> -- 
>> | e r |  Ernesto Giannotta
>> | n e |  Musical Box - a media store
> 
> 
> _______________________________________________
> 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>

Cool Runnings,
Erne.
-- 

/ |\ |\  | /
­ |/ | \ | ­
\ |\ |  \| \


_______________________________________________
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>


From  Fri 31 Mar 2006 16:35:30 +0200
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
Received: from lists.realsoftware.com (209.198.132.125) by realsoftware.com
 with ESMTP (Eudora Internet Mail Server 3.1.3);
 Fri, 31 Mar 2006 08:35:55 -0600
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id 207B011AE15B; Fri, 31 Mar 2006 08:35:40 -0600 (CST)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de
        [80.67.18.13])
        by lists.realsoftware.com (Postfix) with ESMTP id 5058111AE14D
        for <realbasic-nug at lists dot realsoftware dot com>;
        Fri, 31 Mar 2006 08:35:32 -0600 (CST)
Received: (qmail 5253 invoked from network); 31 Mar 2006 14:35:31 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 89 dot 
17])
        (envelope-sender <support at monkeybreadsoftware dot de>)
        by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP
        for <realbasic-nug at lists dot realsoftware dot com>; 31 Mar 2006 
14:35:31 -0000
To: realbasic-nug at lists dot realsoftware dot com (REALbasic NUG)
In-Reply-To: <6 dot 2 dot 0 dot 14 dot 0 dot 20060331083755 dot 01cfe040 at 
mail dot auyantepui dot com>
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Fri, 31 Mar 2006 16:35:30 +0200
Message-ID: <1hd2ooq dot 6nwn321cyow00M%support at monkeybreadsoftware dot de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Organization: Monkeybread Software Germany
X-Face: nrf3>{WQ6c&r+7 at e)"]0G60`-6ND^)I2mI%>)QGYa=9"=7jhd-g2|b3!>Al0+
        Ccb%xGQshhi|g at QU2$
User-Agent: MacSOUP/D-2.7 (Mac OS X version 10.4.5)
Subject: Re: Best way...
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

Alexander Bauza <alexander at auyantepui dot com> wrote:

>       MyBigPic.Graphics.DrawPicture (ArrayPicture(i), 0, h)
>       h = h + ArrayPicture(i).Height

You can cache the "MyBigPic.Graphics" into a local variable before the
loop starts.

And you can cache the current image in a variable so you don't call two
times the array getter.

But that may only make 1% or less.

Better maybe if you do not create the small pictures, but calculate the
size before and create the small ones directly into the big one.

Gruß
Christian

-- 
Around eleven thousand functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin.
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
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>