jpeddicord / askalono

A tool & library to detect open source licenses from texts
Apache License 2.0
258 stars 26 forks source link

See if LCS removal can be done in one pass instead of two #36

Open jpeddicord opened 5 years ago

jpeddicord commented 5 years ago

I think it can be by building up strings and looking backwards. Should save on some logic and extra storage; speed may be slightly improved as well.

See remove_common_tokens in preproc.rs