I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 77a8a46d authored by jrandom's avatar jrandom Committed by zzz
Browse files

lets try to reduce creating new objects during finalization

parent 95c7cd55
No related branches found
No related tags found
No related merge requests found
...@@ -241,7 +241,7 @@ public class OutNetMessage { ...@@ -241,7 +241,7 @@ public class OutNetMessage {
buf.append("Undiscarded ").append(_messageSize).append("byte "); buf.append("Undiscarded ").append(_messageSize).append("byte ");
buf.append(_messageType).append(" message created "); buf.append(_messageType).append(" message created ");
buf.append((_context.clock().now() - _created)).append("ms ago: "); buf.append((_context.clock().now() - _created)).append("ms ago: ");
buf.append(_messageId).append(" to ").append(_target.calculateHash().toBase64()); buf.append(_messageId); // .append(" to ").append(_target.calculateHash().toBase64());
buf.append(", timing - \n"); buf.append(", timing - \n");
renderTimestamps(buf); renderTimestamps(buf);
_log.error(buf.toString(), _createdBy); _log.error(buf.toString(), _createdBy);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment