Skip to content

Commit

Permalink
Refactor trees.c, deflate.c and deflate.h for gcc x86-64. Remove opti…
Browse files Browse the repository at this point in the history
…ons we do not require (FASTEST, 64K, NOT_TWEAK_COMPILER). Remove contribs we don't require, integrate the hash func and longest_match funcs into deflate.c.

Improve output buffer performance by using 64 bit buffer instead 16 bit.
All in all ~10% performance gain for lvl 4 and ~5% performance gain for lvl 5
  • Loading branch information
vkrasnov committed Jan 16, 2015
1 parent 93f5fe1 commit ae7c02f
Show file tree
Hide file tree
Showing 148 changed files with 600 additions and 38,753 deletions.
6 changes: 0 additions & 6 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
# Normally configure builds both a static and a shared library.
# If you want to build just a static library, use: ./configure --static

# To use the asm code, type:
# cp contrib/asm?86/match.S ./match.S
# make LOC=-DASMV OBJA=match.o

# To install /usr/local/lib/libz.* and /usr/local/include/zlib.h, type:
# make install
Expand Down Expand Up @@ -280,9 +277,6 @@ depend:

# DO NOT DELETE THIS LINE -- make depend depends on it.

ifeq ($(TGT_ARCH), x86_64)
deflate.o: contrib/amd64/longest-match.inc
endif
adler32.o zutil.o: zutil.h zlib.h zconf.h
gzclose.o gzlib.o gzread.o gzwrite.o: zlib.h zconf.h gzguts.h
compress.o example.o minigzip.o uncompr.o: zlib.h zconf.h
Expand Down
78 changes: 0 additions & 78 deletions contrib/README.contrib

This file was deleted.

106 changes: 0 additions & 106 deletions contrib/ada/buffer_demo.adb

This file was deleted.

156 changes: 0 additions & 156 deletions contrib/ada/mtest.adb

This file was deleted.

Loading

0 comments on commit ae7c02f

Please sign in to comment.