github classgraph/classgraph fast-classpath-scanner-1.10.3

latest releases: classgraph-4.8.172, classgraph-4.8.171, classgraph-4.8.170...
7 years ago

Performance improvements and a small API change for FileMatchProcessors.

  • Switched recursive scanning to use an NIO TreeWalker rather than custom recursive scanning code. This should result in faster scanning compared to the old method of using java.util.zip. (This also paves the way for multithreaded scanning in the future, since java.util.zip is not threadsafe.)
  • Only scan any given directory/file/jar once (after resolving symlinks).
  • Small API change: the inputStreamLengthBytes parameter of FileMatchProcessor and FileMatchProcessorWithContext is now of type long instead of int.

Don't miss a new classgraph release

NewReleases is sending notifications on new releases.