[Pkg-crosswire-devel] Fwd: [sword-svn] r2187 - in trunk: . examples/classes examples/cmdline include src/mgr src/modules src/modules/common src/modules/filters src/modules/genbook/rawgenbook src/modules/texts/ztext

Dmitrijs Ledkovs dmitrij.ledkov at gmail.com
Sat Jan 31 08:36:33 GMT 2009



2009/1/31 Jonathan Morgan <jonmmorgan at gmail.com>:
> To follow up the discussion, this is the change that has been
> partially included in BPBible's patched Sword version to improve speed
> of compressed modules, with zverse.h and zverse.cpp patched.  The most
> relevant line is:
>
> -       if ( (size > 0) && cacheBuf && ((unsigned)start <
> strlen(cacheBuf)) ){ //TODO: optimize this, remove strlen
> +       if ((size > 0) && cacheBuf && ((unsigned)start < cacheBufSize)) {
>
> This makes compressed modules more efficient, but doesn't affect
> behaviour in any way, and I would certainly prefer it included in any
> package of sword.
>
> Annoyingly, the BPBible "patches" zip file has the complete files
> rather than just patches against 1.5.11, so I'm not sure whether the
> other changes made to zverse.cpp and zverse.h in this commit are
> reflected in the BPBible patches.
>
> Jon
>

That it is a bit annoying. I guess we'll have to do a bzr branch, cherry-pick
from it partial files and generate patches from that.

(Can't wait for dpkg-source v3!!! You will be able just to tar your bzr repo
and that will be the source package!!!).


-- 
With best regards


Ледков Дмитрий Юрьевич

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 270 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-crosswire-devel/attachments/20090131/d60c8868/attachment.sig>


More information about the Pkg-crosswire-devel mailing list