~linaro-infrastructure/linaro-license-protection/master

Viewing all changes in revision 193.1.1.

  • Committer: James Tunnicliffe
  • Date: 2013-05-29 13:41:12 UTC
  • mto: This revision was merged to the branch mainline in revision 194.
  • Revision ID: git-v1:6ff77122348c464936ac5ea3267114098f4eebf9
Updated buildinfo logic to be much faster at maching a long list of file names in a large directory of files. Used to take (n^m)/2 calls to fnmatch (n = number of files in a directory, m = number of files listed in BUILD-INFO.txt), which is a bit slow due to the use of regular expressions. Worst case is still the same, but this shortcuts a lot of checks when there is a simple non-glob match.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: