Push Card

Brian Milby brian at milby7.com
Tue Oct 22 14:09:34 EDT 2019


I don’t think 12 cards will be an issue.  The problem is that cards are a linked list in memory so random access to hundreds of cards can be slow.  Next card is always fast (would have to look to see if it is a double link for the same to be true of previous).

Thanks,
Brian
On Oct 22, 2019, 2:02 PM -0400, Andrew Bell via use-livecode <use-livecode at lists.runrev.com>, wrote:
> I learned HyperCard in K-12 during the '90s and moved to LiveCode a
> couple years ago. My coding efficiency and strategies have developed
> considerably over my past couple projects. I don't make a new card for
> everything, but easily end up with a dozen cards in a stack for most
> projects.
>
> Are you saying that LC is better suited to just throw everything onto
> 1 card then turn on&off the visibility of groups/etc.?
>
> --Andrew Bell
>
>
> > Subject: Re: Push Card
> > Message-ID: <2D259A07-7C34-4337-9DBB-24F2FF8E6FDD at iotecdigital.com>
> > Content-Type: text/plain; charset="us-ascii"
> >
> > I have tried push and pop before but you really have to keep track
> > of the pushed cards or you end up somewhere unexpected. I'm still
> > not sure what the utility of having lots and lots of cards is, if
> > that is what you are doing, especially considering that the LC
> > engine is not optimized to use that paradigm.
> >
> > Bob S
> >
> >
> > > On Oct 22, 2019, at 08:39 , JB via use-livecode
> > > <use-livecode at lists.runrev.com> wrote:
> > >
> > > Thank you for the info!
> > >
> > > I think I am going to rewrite the code to work
> > > better and eliminate using push card for this
> > > instance.
> > >
> > > JB
> >
> >
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list