search armlet patch

2003-06-06 Thread Adam McDaniel
On Fri, Jun 06, 2003 at 02:18:26PM -0400, Alexander R. Pruss wrote:
> Nah, please don't wait.  I don't think I'll do the 68k stuff in the near
> future.  My feeling is that the interest in the search code is low, and for
> low-interest stuff, I only code things that I need myself. :-)

OK. here it is... I guess it's mostly intended for Mike, but anyone is
welcome to try it out.

-- 
Adam McDaniel
Array.org
Calgary, AB, Canada


searcharmlet.diff.gz
Description: Binary data


Re: non-armlet search speed

2003-06-06 Thread Alexander R. Pruss
From: "Adam McDaniel" <[EMAIL PROTECTED]>
> On Fri, Jun 06, 2003 at 07:49:21PM +0200, Michael Nordstrom wrote:
> > On Fri, Jun 06, 2003, Alexander R. Pruss wrote:
> >
> > > But I don't know if anybody but other than me cares about the search
speed.
> >
> > Speed is great, so if the search function can be split up in a
> > "maintainable" way I would like to see the code.
>
> Alex and I have been working on this the last few days and have a
> patch ready. However, I guess I'll wait until his single/multibyte
> alphabet search dealy is coded.

Nah, please don't wait.  I don't think I'll do the 68k stuff in the near
future.  My feeling is that the interest in the search code is low, and for
low-interest stuff, I only code things that I need myself. :-)

Alex

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


Re: non-armlet search speed

2003-06-06 Thread Adam McDaniel
On Fri, Jun 06, 2003 at 07:49:21PM +0200, Michael Nordstrom wrote:
> On Fri, Jun 06, 2003, Alexander R. Pruss wrote:
> 
> > But I don't know if anybody but other than me cares about the search speed.
> 
> Speed is great, so if the search function can be split up in a
> "maintainable" way I would like to see the code.

Alex and I have been working on this the last few days and have a
patch ready. However, I guess I'll wait until his single/multibyte
alphabet search dealy is coded.

-- 
Adam McDaniel
Array.org
Calgary, AB, Canada
___
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev


Re: non-armlet search speed

2003-06-06 Thread Michael Nordstrom
On Fri, Jun 06, 2003, Alexander R. Pruss wrote:

> But I don't know if anybody but other than me cares about the search speed.

Speed is great, so if the search function can be split up in a
"maintainable" way I would like to see the code.

/Mike

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


non-armlet search speed

2003-06-06 Thread Alexander R. Pruss
The current search routine is designed to work with multi-byte alphabets.
When experimenting with my search armlet, I found that the multi-byte
alphabet support slows down the search by a significant amount.  Switching
from multi-byte to single-byte sped up my benchmark from 2 or 2.5 min (it
was a long time ago, so I can't remember the exact numbers) to 1.5 min on my
NX70v (the armlet search, by comparison, on this benchmark should be under
10 seconds).  It would be easy to implement two searches, one for multi-byte
alphabet machines and one for single-byte alphabet machines.  In fact, we
already have something like this: the armlet only works for single-byte
systems (and of course the code checks if it's appropriate to use the
armlet).  It would take very little work to make this work in 68K mode, too.
(I could just re-use most of the armlet code, which would be going full
circle since I debugged the armlet initially as a 68K routine.)

But I don't know if anybody but other than me cares about the search speed.

Alex

--
Dr. Alexander R. Pruss
Department of Philosophy
Georgetown University
Washington, DC 20057-1133  U.S.A.
e-mail: [EMAIL PROTECTED]
online papers and home page: www.georgetown.edu/faculty/ap85

-
   "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


font idea

2003-06-06 Thread Alexander R. Pruss
I wonder if the fonts in Plucker wouldn't do well to be spun-off into
separate prc's.  This would let the user substitute a different font pack
(e.g., for a non-Latin script, or just a nicer font pack), as well as save
memory (no need for hi-res users to have the lo-res fonts, and vice
versa).  Any thoughts?

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