Use Joiner instead of StringBuilder, in some places.
Use String concatination in others (it's faster in actionscript than in Java) git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5959 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
package com.threerings.presents.dobj {
|
||||
|
||||
import com.threerings.util.StringBuilder;
|
||||
import com.threerings.util.Joiner;
|
||||
|
||||
import com.threerings.io.ObjectInputStream;
|
||||
import com.threerings.io.ObjectOutputStream;
|
||||
@@ -99,11 +99,10 @@ public class ObjectRemovedEvent extends NamedEvent
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
override protected function toStringBuf (buf :StringBuilder) :void
|
||||
override protected function toStringJoiner (j :Joiner) :void
|
||||
{
|
||||
buf.append("OBJREM:");
|
||||
super.toStringBuf(buf);
|
||||
buf.append(", oid=", _oid);
|
||||
super.toStringJoiner(j);
|
||||
j.add("oid", _oid);
|
||||
}
|
||||
|
||||
protected var _oid :int;
|
||||
|
||||
Reference in New Issue
Block a user