🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.databases
Article #448

Re: 4D Compiler

#448
From: Michael_R._Schumann
Date: Thu, 01 Oct 1992 16:25
29 lines
1666 bytes
>>>asking about compiler

>>saying compiling alone does not increase speed much.

>best performance is obtained by declaring string variables with the
minimum length
required.

It is also very important to declare the variable used in for loops as
an interger. If the variable is allowed to be the default of real, there
is a great speed hit.

A number of databases I've written aren't practical to use without being
compiled because they would be too slow (even on a IIci); compiled, some
sections run a good 20+ times faster. The speed improvement comes when
there are long scripts, working with arrays, variables etc. It does not
help with searching, sorting, loading and saving.

Best wishes,

Michael Schumann
***************************************************************************
             From Planet BMUG, the FirstClass BBS of BMUG, Inc.
              The above message was gatewayed via PostalUnion
***************************************************************************
The message contained in this posting is entirely the poster's personal
opinion.  Any possible, real or perceived, (dis)similarities with the
views held by BMUG, are purely coincidental.
***************************************************************************
Technical Details
Message-ID: <1992Oct01.092535.41447@bmug.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!iat.holonet.net!bmug!Michael_R._Schumann

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!iat.holonet.net!bmug!Michael_R._Schumann
Message-ID: <1992Oct01.092535.41447@bmug.org>
Newsgroups: comp.sys.mac.databases
Distribution: world
From: Michael_R._Schumann@bmug.org
Organization: BMUG, Inc.
Date: Thu, 01 Oct 1992 09:25:35 PDT
Subject: Re: 4D Compiler
Lines: 29