Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Gummesson committed Mar 31, 2017
1 parent c942323 commit 7fc01b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BuildTimeAnalyzer/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.4</string>
<string>1.0.5</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
1 change: 1 addition & 0 deletions BuildTimeAnalyzer/LogProcessor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ extension LogProcessorProtocol {
remainingRange = nextRange.upperBound..<remainingRange.upperBound
}

// From LuizZak: (text as NSString).length improves the performance by about 2x compared to text.characters.count
let range = NSMakeRange(0, (text as NSString).length)
guard let match = regex.firstMatch(in: text, options: [], range: range) else { continue }

Expand Down

0 comments on commit 7fc01b4

Please sign in to comment.