Go to file
Gustaf Lundh 341d405f69 PatchSet.isRef()-optimizations.
PatchSet.isRef() is used extensively when preparing
for a ref advertisment and the regular expression used
by isRefs() is notably costly in these circumstances.

Even worse, the regular expression cannot be pre-compiled
due to lacking RegEx-support in GWT (I guess later GWT
versions introduces their own set of RegEx classes, not
sure if we want to bring them into PatchSet though).

By removing the regular expression and reimplementing
the check, we could see upto a 15% performance increase
when issuing a git ls-remote.

Change-Id: If5a39210dc084bb7cd415cfdb25387657cee2fc7
2013-01-07 17:06:16 +01:00
2013-01-07 17:30:55 +09:00
2012-10-18 13:38:51 +02:00
2008-11-14 16:59:34 -08:00
2009-03-27 20:20:10 -07:00
2012-12-27 07:58:19 -08:00
Description
RETIRED, Gerrit as used by OpenStack
122 MiB