[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How expensive is building canonical strings?
- To: self-interest@self.stanford.edu
- Subject: Re: How expensive is building canonical strings?
- From: R James Noble <kjx@comp.vuw.ac.nz>
- Date: Thu, 3 Jun 1993 10:45:15 +1200
- Resent-date: Wed, 2 Jun 93 17:03:12 PDT
- Resent-from: Urs Hoelzle <urs@otis>
- Resent-message-id: <9306030003.AA10337@otis.Stanford.EDU>
- Resent-to: real-self-interest
> It's probably not blindingly fast but fast enough to handle a few
> thousands of events per seconds
I've used this to do mouse-sensitive buttons using X - when your
cursor is over a button, the button is highlighted. I found it was
usually fast enough, modulo environmental effects (scavenging, GC,
recompilation, swapping, paging, anyone else using the machine, or any
other self thread doing anything). These tend to swamp a single string
canonicalise or perform! I was going to try real point-by-point mouse
tracking but didn't get round to it.
I guess the solution to this is to buy one of them new-fangled
multiprocessor suns, and then parallelise the Self threads, the
compiler, and the GC...
kjx