[futurebasic] no problems with large segments here

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1998 : Group Archive : Group : All Groups

From: Bowerbird@...
Date: Wed, 25 Nov 1998 02:25:12 EST
caver dave said:
>   When segments get large (almost 32k), 
>   or have almost too many segment-jumps 
>   (not sure how many), then strange things start to happen. 

my experience is a strong counterexample against this.

in my project, i have many functions that are
straining up against the 32k limit,
including my dodialog, domenu, and dodisplay functions.
in fact, i believe even my handleevents loop is at the max.

i cannot add one statement, literally, to these functions
without having them become too big.

nonetheless, i never experience any problems or strangeness
with them, aside from the ones i introduce myself, of course.
and, even with that 32k main loop, the program is still
lightning quick on a g3, and simply fast on my old mac ii.
i tell you, this compiler is a gem.  it's just a pure gem.

your experience may differ,
but that's what my experience is.

-bowerbird

p.s.  oh yeah, for segment jumps, i got a million of them, too.
i make a lot of use of "exit fn" to just get the heck out of dodge...