| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: FolderItem.delete Oddities? |
| From: | Christian Dorn <realbasic@online.de> |
| Date: | Tue, 31 Mar 2009 21:13:13 +0200 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com |
| Delivered-to: | listarchive@realsoftware.com |
| In-reply-to: | <58031FB4-BB70-45EC-B698-FBB7998DC783@mac.com> |
| References: | <382799.72156.qm@web65614.mail.ac4.yahoo.com> <A0B9E68F-F447-4291-9727-E72D8648E1B4@online.de> <58031FB4-BB70-45EC-B698-FBB7998DC783@mac.com> |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
What about for f.Count downto 1 instead of for i = 1 to f.Count?No, because of some recent changes in Mac OS 10.5 (or coming changes in 10.6?) this shouldn't be done,That's very odd! What change can prevent deleting in an order rather than another order? I really don't know. I don't recall there was any explanation what changes were made and why these changes would slow down the downto- iteration. But Charles just pointed out that counting down would be slow, too. Charles, can you provide us with some background, why a downto-loop is slower than a to-loop in this case?
Gruß
Christian
----------------------------------------
Christian Dorn
realbasic {a} online.de
REALbasic 2008.5-1 Pro
REALbasic 2009.1 Pro
iMac 3.06 GHz Intel Core 2 Duo, 4 GB RAM
PowerMac G5 2x2GHz, 1.5 GB RAM
Mac OS X 10.5.6
----------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|
| Previous by Date: | Elevation, Jeromy |
|---|---|
| Next by Date: | Re: FolderItem.delete Oddities?, Christian Dorn |
| Previous by Thread: | Re: FolderItem.delete Oddities?, Arnaud Nicolet |
| Next by Thread: | Re: FolderItem.delete Oddities?, Thomas Tempelmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |