Skip to content

Commit

Permalink
Some code optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
asimba committed Jun 27, 2023
1 parent e86fcb2 commit aca7f17
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
Binary file modified bin/qb
Binary file not shown.
Binary file modified bin/qb.exe
Binary file not shown.
12 changes: 6 additions & 6 deletions sha1sums
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
31652d1b27af4293be31710d7a633721b46d95d6 *./bin/qb
4117da97f52aa2ebf239b3787a63d0767d83086d *./bin/qb.exe
4127116b83addc21ceae13f3a63717d03c2be4ee *./bin/qb
4a602be97866c2fbb88baad2ae825a606e4f22a1 *./bin/qb.exe
04a02a05b856af499c7e12a4ca54b192f6ee8b1c *./LICENSE
39d5ebbc73cbce6b157047e21fae72f5d714d92b *./makefile
c7e0598269b89c08b87fdb9de20d5342659f201b *./README.md
15144536d40d5a30bf63fb28318dd5f3a21298ad *./src/archive.cc
deb42b2641f3e6f2fb63461fab4a4a6a4a4690dd *./src/archive.h
78882afd798f90d581c75347ebb9bfc1264dcd1c *./src/bnode.cc
da07eb161d5606ad1db49cd6e027b0fb095f7f30 *./src/bnode.h
0c0eeec5ff2a31b3283b58c5d039e557ff549224 *./src/build.inc
c2413af1caaabec47d2ed214efbf82aea19c659a *./src/build.inc
01d7ae4d64aac4aa3a7cb5a34e5dd008b95058f0 *./src/buildinc
2a4ba2232e37cde6ccf4d85c0429bdb90081a687 *./src/canonicalize.cc
d3cdb3d4423c1dc67367029ba7d6c73f3d332eee *./src/canonicalize.h
Expand All @@ -28,13 +28,13 @@ be092d83346279d06825fd0f2b41c03a51916da3 *./src/globfunction.h
484fdf20c154794135aa7f22b0a322774be44a3f *./src/makefile.mk
c139da5ddf1c747eee44e5aafee6eb312af3e29e *./src/mdirs.cc
7e2e741f8abec81de2f5372bb36963c67365267f *./src/mdirs.h
8732bf7d26550046a6207f7a30ca34d2df13df5f *./src/packer.cc
0e8c8cf0850ef7ce660f14044295f0b70ccd857e *./src/packer.cc
eaa617e3b239e8a59c3d697dfb4f601e94d984e4 *./src/packer.h
5d793f73802ba56a74c0b5b4c668c346a2bc1258 *./src/qbmain.cc
33be3eefbfc69866f8d82178ba88fcbae5e77ae4 *./src/signature.cc
22f651c8530d6bd4a941bfcd71c52c46d747286f *./src/signature.h
eed8599c4ca65b26104ad72e412e94a96577b8e7 *./src/sources.inc
46025207b186c68b74526686560ed72decb7d64e *./src/vars.cc
b496214fa6b932662b09dd09ab5d794359886ecd *./src/vars.h
a3a9759d07d5a603eb5adb7d88478446e7046b06 *./src/version.h
579cbde494c37440c75ebfb871c85d2b91ebe369 *./src/version.inc
da36f83e1c384b4f25678f4a2a437db48fac4424 *./src/version.h
04822ad6421d06d9d2d936aa1f63f02ea8cf7822 *./src/version.inc
2 changes: 1 addition & 1 deletion src/build.inc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BUILD_NUMBER=95
BUILD_NUMBER=96
4 changes: 2 additions & 2 deletions src/packer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ bool packer::rc32_putc(void *file, uint8_t c, uint8_t cntx){
uint16_t *f=frequency[cntx],fc=fcs[cntx];
register uint64_t s=0;
while(c>3) s+=*(uint64_t *)f,f+=4,c-=4;
while(c>1) s+=*(uint32_t *)f,f+=2,c-=2;
while(c--) s+=*f++;
if(c>>1) s+=*(uint32_t *)f,f+=2;
if(c&1) s+=*f++;
s+=s>>32;
s+=s>>16;
low+=((uint16_t)s)*(range/=fc);
Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define VERSION "0.8.33 (build 95 2023-06-26)"
#define VERSION "0.8.34 (build 96 2023-06-27)"
2 changes: 1 addition & 1 deletion src/version.inc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION_STRING="0.8.33"
VERSION_STRING="0.8.34"

0 comments on commit aca7f17

Please sign in to comment.