TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: Mike N.
from: Geo
date: 2004-10-20 06:11:26
subject: Re: Organizing source code

From: "Geo" 

"Mike N."  wrote in message
news:79q8n01d1c56fm6g2mcs9ckifsgqdhhk41{at}4ax.com...

>   An efficient grep algorithm has its own interesting quirks that are
> outside of typical C++ libraries: things like searching on the character
of
> least frequency before trying a string match, all the while being able to
> span buffer boundaries.

I don't think that's quite correct. For example how do you determine the
least frequent character? The letter 'e' may be the least frequent in my
search string but it may be the most common in the base I'm searching. It's
much better imo to just search for the first character, when found see if
the second is next, etc..

>   The only thing I hate about online help is that it's so slow.

that's ok by me, I'm in learning mode so slow is plenty fast .

Geo.

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 396/45 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.