[KinoSearch] Subclassable Highlighter
Father Chrysostomos
sprout at cpan.org
Fri Jan 25 13:39:55 PST 2008
On Jan 24, 2008, at 9:45 AM, Father Chrysostomos wrote:
> The [hit] object could have %{} overloading, but that would cause
> extra overhead, as the method would have to check ‘caller’ each
> time, to make sure it’s not KS:H:Highlighter. But since the number
> of hits is likely to be relatively small, maybe that’s not too bad.
>
Here’s a patch that implements KS:S:Hits that way:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ks-hits.diff
Type: application/octet-stream
Size: 5562 bytes
Desc: not available
Url : http://rectangular.com/pipermail/kinosearch/attachments/20080125/a97d4e0b/attachment-0001.obj
-------------- next part --------------
More information about the kinosearch
mailing list