| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: Slow Listboxes |
| From: | Tim Jones <tjmac@tolisgroup.com> |
| Date: | Thu, 26 Feb 2009 14:32:46 -0700 |
| 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: | <D4CA7E04-94E4-4890-AF87-DDE004483400@mac.com> |
| References: | <6D601607-8A05-41AF-9FE4-D22102080EC4@mac.com> <F4A04EFB-FF75-4560-9DF7-6F42265D2A5E@mac.com> <D4CA7E04-94E4-4890-AF87-DDE004483400@mac.com> |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
On Feb 26, 2009, at 2:05 PM, Stan Busk wrote: Hi,I respond to myself. Listbox has nothing to do. It is nthField function actually that is slower as before. I will fill a bug report on this. I dumped NthField for Split quite a while back. Create an array and use Split, passing the same delimiter as for NthField, and then just grab the array member that you would have grabbed with NthField's field value -1 (NthField counts from 1). This is especially more productive if you're grabbing multiple fields using the same delimiter as you are now just jumping through the array rather than couting through the fields for each element that you need. HTH, Tim _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Slow Listboxes, Frank Bitterlich |
|---|---|
| Next by Date: | Re: Servers, Ports and scratching me head, Charles Yeomans |
| Previous by Thread: | Re: Slow Listboxes, Frank Bitterlich |
| Next by Thread: | Re: Slow Listboxes, Joe Strout |
| Indexes: | [Date] [Thread] [Top] [All Lists] |