Skip to content

First release of byteseek 2.0

Compare
Choose a tag to compare
@nishihatapalmer nishihatapalmer released this 28 Feb 11:49
· 103 commits to master since this release

The first release of byteseek 2.0.

The previous 1.x versions of byteseek used a different method of accessing the data to match and search, by making a function call on each read of a byte. It also assumed that the length of an input source was known prior to matching or searching. The 2.0 version makes the following major changes:

  • An IO package allows efficient random access across a variety of different input sources, caching the byte arrays using pluggable caching strategies.
  • All implementations of matching and searching are stream-friendly - it is not necessary to know the length of an input source before matching or searching across it (unless you explicitly want to work at the end of the stream).
  • Many of the packages and interfaces have been re-arranged to make the code structure clearer and reduce dependencies between them.
  • Lots of tests and lots of minor bugs fixed.
  • The packages are now in net.byteseek, rather than net.domesdaybook. You can therefore run 1.x and 2.x versions side by side without name conflicts, if you should want to.