Skip to content

Commit

Permalink
Optimizations from extensive HPROF session with CloudFront Log Parser.
Browse files Browse the repository at this point in the history
  • Loading branch information
Riyad Kalla committed May 8, 2011
1 parent d661cea commit bedbdb2
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 437 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/dist
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,6 @@ public static byte[] encode(CharBuffer buffer, Charset charset)

// Last-check to make sure our result is exactly the right size
if (result.length != resultLength) {
// TODO: See how often this runs, see if we can calculate a
// better guess above.
byte[] newArray = new byte[resultLength];
System.arraycopy(result, 0, newArray, 0, resultLength);
result = newArray;
Expand Down
32 changes: 0 additions & 32 deletions src/main/java/com/thebuzzmedia/common/parser/AbstractToken.java

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions src/main/java/com/thebuzzmedia/common/parser/ByteToken.java

This file was deleted.

127 changes: 0 additions & 127 deletions src/main/java/com/thebuzzmedia/common/parser/ByteTokenizer.java

This file was deleted.

19 changes: 0 additions & 19 deletions src/main/java/com/thebuzzmedia/common/parser/CharToken.java

This file was deleted.

Loading

0 comments on commit bedbdb2

Please sign in to comment.