On Tue, 27 Jan 2004, Jewett, Jim J wrote:

> Alexander R. Pruss
>  
> > The private version includes support for
> > searching using the Lightspeed overclocking
> > API.
> 
> How much change does this require?  

Insertion of:
        SPEED_FAST();
and
        SPEED_DEFAULT();
in various places.  These compile to nothing if #undef SUPPORT_LS, and to
sublaunch-type calls to the LightSpeed API if #define SUPPORT_LS.

The "various places" now include:
 (1) search
 (2) rendering of a new page (or re-rendering after font change, etc.)
 (3) library/vfs scan
 (4) autoscroll
These are the most CPU intensive tasks.

The nice thing about it is that if one speeds these items up, then one can
underclock everything else, and actually conserve battery power (unless
one autoscrolls all the time).

The only downside right now is that Lightspeed causes a small screen jump
when switching CPU speed on some NX70V units like mine.  So I can't put
this everywhere I'd like to, say whenever drawing a screenful, as it would
get really annoying.

Since this is just for me, there is no UI.  But ideally one would want to
let the user decide which of (1)-(4) to overclock, if any.

> Does it come in places where a hook for 
> special code might be useful for other 
> reasons too, even if the default hook 
> doesn't do anything?

Not that I can think of.

But if one modified one of the OS <5 overclock utilities (source is
available for at least one of them) to have an API, one could do this for
all OS versions.

> Could it use the same plugin interface as
> RoadLingua,

Yes.  Switching would be slightly slower and PPI would need to be
extended.

But actually the bloat as it stands is quite minimal.  It will, however,
get bigger if I have to add a prefs pane for it, and that is
unavoidable--PPI will not help there.

Alex

--
Dr. Alexander R. Pruss  || e-mail: [EMAIL PROTECTED]
Philosophy Department   || online papers and home page:
Georgetown University   ||  www.georgetown.edu/faculty/ap85
Washington, DC 20057    ||
U.S.A.                  ||
-----------------------------------------------------------------------------
   "Philosophiam discimus non ut tantum sciamus, sed ut boni efficiamur."
       - Paul of Worczyn (1424)

_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to