Menu

#3 explict_imports uses hard coded regexp

open
nobody
None
5
2002-10-24
2002-10-24
No

version 1.26 of ProjectJavaFile.explicit_exports
composed its regexp from ClassName::RE for stylistic
reasons. For some strange reason this ran very slowly.
It doesn't seem to make any difference if the regexp is
precompiled (i.e. just before the loop).

The regexp is now hardcoded which isn't so good.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB