You should decide if you want to compile the program. If you'll compile it with
Turbo, integer arithmetic is much faster than floating point. But no need to
append the % to the variables if you want to avoid the overhead when running
the program without compiling it: you can just tell Turbo to treat normal
floating point variables as integers by using the IMPLICIT% keyword.
Daniele
> Date: Sat, 22 Jan 2011 20:13:56 -0600
> From: [email protected]
> To: [email protected]
> Subject: Re: [Ql-Users] Programming project request...
>
> Well, today was fun.
>
> First, I re-discovered that integer handling is about 30% slower than
> floating point, which seems very counter-intuitive to me.
>
> Second, I did some demonstrations to find out which was faster... large
> dimensioned arrays, or ALCHPing some memory and PEEK/POKEing it directly .
> Any guesses which was faster? If I need to store tables of data about
> temporary objects, it seems ALCHP is faster to handle the data, but harder
> to understand what's going on. Easier to defrag the objects when one ceases
> to exist (like a plane lands, or a card is used)...
>
> I also was wondering... with the list distinctions of ql-users and
> ql-developers... The QL was always very hands on, and these days, every user
> needs to be their own developer. So, aren't we all developers, really?
>
> Dave
>
> On Sat, Jan 22, 2011 at 12:38 AM, Plastic <[email protected]> wrote:
>
> >
> >
> > On Sat, Jan 22, 2011 at 12:23 AM, Rich Mellor
> > <[email protected]>wrote:
> >
> >> On 22/01/2011 06:03, Plastic wrote:
> >>
> >>> As for a SuperBASIC compiler...
> >>>
> >> Lightning is a utility which increase the speed of graphics and text
> >> routines in any program which uses the standard QDOS routines, it is not a
> >> SuperBASIC compiler.
> >>
> >
> > See, that's what I have to deal with. As soon as I'm told that I remember
> > it very clearly. Lightning was this really need tool that transformed my QL
> > by replacing the commonly used display routines (which were as general
> > purpose as possible and slow) with custom, up to 30x faster specific
> > routines. I know that! But I didn't until you said it.
> >
> > This kind of thing happens to me a few times every day right now.
> >
> > I have the Turbo Toolkit - but that is also on microdrive. Timothy
> > Swenson's email addresses that.
> >
> > Good links all... Following, reading and printing. Can't scribble pencil
> > notes in the margin of a PDF.
> >
> > Dave
> >
> _______________________________________________
> QL-Users Mailing List
> http://www.q-v-d.demon.co.uk/smsqe.htm
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm