licenseclassifier icon indicating copy to clipboard operation
licenseclassifier copied to clipboard

Compiled default classifier

Open knqyf263 opened this issue 2 years ago • 0 comments

DefaultClassifier is a bit expensive as it tokenizes and normalizes licenses. We don't want to perform it every run. Is there any way to pass a parsed docs that is a private field? What if we will add NewClassifierWithDocs or something like that? https://github.com/aquasecurity/licenseclassifier/blob/c913e304a1534c4580fa70c2c3af5cd85d99fc9c/v2/classifier.go#L194

knqyf263 avatar Jul 18 '22 09:07 knqyf263