[Zlib-devel] Re: zlib-1.2.0.f-cos2
Cosmin Truta
cosmin at cs.toronto.edu
Wed Sep 10 03:37:14 EDT 2003
On Mon, 8 Sep 2003, Mark Adler wrote:
> On Monday, September 8, 2003, at 07:18 AM, Greg Roelofs wrote:
> > I wanted something like this in libpng (more to the point, I wanted to
> > be able to _set_ such things on the fly), so having it in zlib would
> > be nice, too.
>
> Ok, I'll consider two people to be a consensus. It will have an
> assembler code flag.
Thanks.
I didn't really think about applications refusing to run, but I thought
about people who download pre-built binaries and want to know what's
inside. Some do want ASM, some do not want ASM. They might decide they
have to keep searching the net, or rebuild the binary by themselves; in
the case of Windows and MASM/TASM, that is *if* they have bought the
assembler.
Furthermore, if a (possibly not so obvious) ASM problem occurs and
becomes well-known, bad binaries can be immediately isolated.
Greg: in contrib\masmx86, different implementations of longest_match()
are selected on the fly. True, you cannot select those by yourself, but
an ASM implementation can be accompanied by a function that allows to
select the user's preference, then match_init() can take care of the
initialization. Otherwise, in the standard code base, match_init() is
just an empty stub.
Cosmin
More information about the Zlib-devel
mailing list