• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Saving WOCheckboxes in a Repetition into a database
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving WOCheckboxes in a Repetition into a database


  • Subject: Re: Saving WOCheckboxes in a Repetition into a database
  • From: David LeBer <email@hidden>
  • Date: Thu, 5 Oct 2006 21:30:39 -0400

On 5-Oct-06, at 9:13 PM, David Holt wrote:

The following code derived from mmalc's article on Stepwise is what I have been using to store "favourites" to the database. I show the items that have been marked as favourites when the page loads. When I submit, the code loops through every artifact in the database (some 20,000) and is dog slow. The inefficiency didn't show up until I connected to the production database. Does anyone have any suggestions for how I might make this code more efficient?

Sorry, are you saying that you end up with a page with 20,000 favorites on it?


If so, that's never going to work (code optimization or not) and your going to want to look at reducing that number drastically (paging, searching, or filtering, or something).

If I've misinterpreted, let me know.

--
;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://www.codeferous.com
blog: http://david.codeferous.com
--
Toronto Area Cocoa / WebObjects developers group:
http://www.tacow.org


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Saving WOCheckboxes in a Repetition into a database
      • From: David Holt <email@hidden>
References: 
 >Saving WOCheckboxes in a Repetition into a database (From: David Holt <email@hidden>)

  • Prev by Date: Saving WOCheckboxes in a Repetition into a database
  • Next by Date: Re: Saving WOCheckboxes in a Repetition into a database
  • Previous by thread: Saving WOCheckboxes in a Repetition into a database
  • Next by thread: Re: Saving WOCheckboxes in a Repetition into a database
  • Index(es):
    • Date
    • Thread