1. garbage collections, etc
I'm back, with some more newbie questions!
I forget, but i think someone covered garbage collections already,, some,,
but is it possible, in a time-constrained section of code, to turn off all
garbage collection until that section of code is done? What about turning
off type checking and range/bounds checking in a proven section of code and
then turning those back on too? Can garbage collection be interrupted
between each var being collected, to be resumed later?
Also, i noticed occasionally when it seems like windoze has un-cached
something Eu needs, it takes on average .4 sec to get the Eu task back up to
speed if it's been idle, especially in disk accesses. That isn't bad,
really, on bigger apps, 2 sec is about average. But is there any way to tell
this uncooperative OS to remember i want Eu ready at my beck all the time?,
to cut that .4 sec lag down,, `cause it could add up, and i can see in the
future i may be faced with 10 sec of lag as windoze reloads the uncached Eu
sessions. I have 64Meg of ram, so i *shouldn't* <wince> have a problem,
right? <sigh>
Kat,
hoping to extract RawBlazingSpeed from BlahRaisingSpeed.
2. Re: garbage collections, etc
On Sat, 13 Nov 1999, Kat wrote:
> I'm back, with some more newbie questions!
>
> I forget, but i think someone covered garbage collections already,, some,,
> but is it possible, in a time-constrained section of code, to turn off all
> garbage collection until that section of code is done?
No, it's continuous and automatic. This brings up an interesting point,
however. If you have some code that seems to drag because of the garbage
collection, profile it and share the info. Maybe an on/off switch would be
something we could request for a future version of Euphoria, if we can prove a
need for speed.
> What about turning
> off type checking and range/bounds checking in a proven section of code and
> then turning those back on too?
with type_check turns it on, and without type_check turns it off, but not for
all checks. According to the manual, Euphoria runs faster with some checks in
place, so you can't turn those off.
Re: windows delays (snipped) I notice the same kinds of delays all the time
with Win 98. Even clicking on an icon can sometimes cause a delay of a couple of
seconds before anything happens. Not even a cursor change or the darkening of
the icon. Who knows what Windows is doing?
Irv
3. Re: garbage collections, etc
Irv Mullins wrote:
>Re: windows delays (snipped) I notice the same kinds of delays all the time
>with Win 98. Even clicking on an icon can sometimes cause a delay of a couple
>of
>seconds before anything happens. Not even a cursor change or the darkening of
>the icon. Who knows what Windows is doing?
Logging your activity and reporting back to HQ?
Rod Jackson
4. Re: garbage collections, etc
On Sat, 13 Nov 1999, you wrote:
> Irv Mullins wrote:
> >Re: windows delays (snipped) I notice the same kinds of delays all the time
> >with Win 98. Even clicking on an icon can sometimes cause a delay of a couple
> >of
> >seconds before anything happens. Not even a cursor change or the darkening of
> >the icon. Who knows what Windows is doing?
>
> Logging your activity and reporting back to HQ?
>
If you have Explorer set to load a blank page on startup, then start Explorer
and pull down the list of recently visited sites (the same place you type in
new URL's) you'll see the modem lights blink, even though you haven't clicked
on any URL. The longer your list of "recent" sites, the more blinking.
Hmmmm.....
Irv
5. Re: garbage collections, etc
- Posted by Kat <KSMiTH at PELL.NET>
Nov 13, 1999
-
Last edited Nov 14, 1999
----- Original Message -----
From: Irv Mullins <irv at ELLIJAY.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Saturday, November 13, 1999 5:45 PM
Subject: Re: garbage collections, etc
> On Sat, 13 Nov 1999, you wrote:
> > Irv Mullins wrote:
> > >Re: windows delays (snipped) I notice the same kinds of delays all the
time
> > >with Win 98. Even clicking on an icon can sometimes cause a delay of a
couple of
> > >seconds before anything happens. Not even a cursor change or the
darkening of
> > >the icon. Who knows what Windows is doing?
> >
> > Logging your activity and reporting back to HQ?
> >
>
> If you have Explorer set to load a blank page on startup, then start
Explorer
> and pull down the list of recently visited sites (the same place you type
in
> new URL's) you'll see the modem lights blink, even though you haven't
clicked
> on any URL. The longer your list of "recent" sites, the more blinking.
> Hmmmm.....
You *do* know windoze really does try to contact MS when you get online,
don't you? Billy Gates says it's to automatically get the newest
code/updates ( pronounced: "bug patches"), and to do that, they must know
what you have on your puter.......
Kat
6. Re: garbage collections, etc
- Posted by Irv Mullins <irv at ELLIJAY.COM>
Nov 13, 1999
-
Last edited Nov 14, 1999
Kat wrote:
> You *do* know windoze really does try to contact MS when you get online,
> don't you? Billy Gates says it's to automatically get the newest
> code/updates ( pronounced: "bug patches"), and to do that, they must know
> what you have on your puter.......
Indeed I do. I've had that option turned off since I first installed WIn98.
Perhaps I was naive to assume that turning off that option would actually
turn it off.
We can trust Bill Gates, can't we?
Irv
7. Re: garbage collections, etc
- Posted by Greg Phillips <i.shoot at REDNECKS.COM>
Nov 13, 1999
-
Last edited Nov 14, 1999
Irv Mullins wrote:
> Kat wrote:
> > You *do* know windoze really does try to contact MS when you get online,
> > don't you? Billy Gates says it's to automatically get the newest
> > code/updates ( pronounced: "bug patches"), and to do that, they must know
> > what you have on your puter.......
>
> Indeed I do. I've had that option turned off since I first installed WIn98.
> Perhaps I was naive to assume that turning off that option would actually
> turn it off.
> We can trust Bill Gates, can't we?
>
> Irv
You're both mistaken. See, it's just windows uploading another small piece of
your soul to Mr. Gates.
Greg
8. Re: garbage collections, etc
Greg Phillips wrote:
> Irv Mullins wrote:
>
> > Kat wrote:
> > > You *do* know windoze really does try to contact MS when you get online,
> > > don't you? Billy Gates says it's to automatically get the newest
> > > code/updates ( pronounced: "bug patches"), and to do that, they must know
> > > what you have on your puter.......
> >
> > Indeed I do. I've had that option turned off since I first installed WIn98.
> > Perhaps I was naive to assume that turning off that option would actually
> > turn it off.
> > We can trust Bill Gates, can't we?
> >
> > Irv
>
> You're both mistaken. See, it's just windows uploading another small piece of
> your soul to Mr. Gates.
>
> Greg
You're all mistaken... I believe that it isn't emailing anything to Mr. Gates
himself, but to a rogue programmer in the team.
Poor dude has to sift thru all that junk too... who would really want whats on
someone elses' computer? The extreme grossiness that can result... <shiver>
sorry,
it ain't me.
All Gates cares about is that we are buying his product(s), and we ain't ripping
him off. Simple as 3.141592654. He has NO clue whats in the OS he gets to put
his
face on.
So, why attack Gates if all he is is a face? Screw Gates, go for the
programmers!
:)
--"LEVIATHAN"