Tom Benedict (smelly@polari.UUCP) (05/16/91)
Yes!!! Use card IDs for navigation. As you've found out, card names are very slow on large stacks. You could set up a look up table of card names and IDs and use offset to find the ID from the name. It's very fast. Batch updating of large numbers of cards is not fast in any case. However you can optimize by going to the card for each update rather than addressing each update via hypertalk. Also avoid making references to card numbers or 'card x of bg y'. HyperCard has to count the number of cards in bg y each time and , as you've found, can take minutes. Your card navigation should be down to a second or so by using the lookup table and card ID.
stadler@Apple.COM (Andy Stadler) (05/18/91)
In article <4097@polari.UUCP> Tom Benedict (smelly@polari.UUCP) writes: >Yes!!! Use card IDs for navigation. As you've found out, card names are >very slow on large stacks. Just a quick reminder on text searches - if you have a large stack, it's a good idea to COMPACT your stack before searching. Compact stack will accelerate all forms of text searching, including go card by name. Andy Stadler Apple Computer, Inc.