Andy Balholm
94609f9606
Revert "Faster bit writing."
...
This reverts commit c3da72aa01
.
With the sample data from issue 22, one byte in the output file is zero
instead of the correct value. For now at least, we'll go back to the old
way of writing bits.
Fixes #22
2021-04-27 10:48:28 -07:00
Andy Balholm
c3da72aa01
Faster bit writing.
...
Replace the functions in write_bits.go with a bitWriter type based on
the compress/flate package.
2020-06-18 18:58:27 -07:00
Andy Balholm
097c1c5bc9
Use 32-bit loads in isMatch1 and isMatch5.
2020-05-15 11:17:23 -07:00
Andy Balholm
08371dc992
Use const for constants.
2019-03-21 16:15:39 -07:00
Andy Balholm
52165d4974
Clean up duplicate and misplaced comments.
2019-03-21 15:34:30 -07:00
Andy Balholm
55e85f3f75
Finish un-exporting symbols.
2019-03-15 18:00:20 -07:00
Andy Balholm
7b66c0a2f2
Un-export some more symbols
2019-03-15 17:24:40 -07:00
Andy Balholm
906c822ef2
Un-export more symbols
2019-03-15 12:05:31 -07:00
Andy Balholm
74ae18c776
Use some Go library functions.
2019-03-08 19:45:16 -08:00
Andy Balholm
69a32ecc1a
Initial commit.
...
This is the output of c2go, except for util.go.
2019-03-06 14:55:38 -08:00