I am in kind of a dilema:
is there a reason to think that this section:
StringBuffer sb = new StringBuffer(100);
sb.append("abc").append("def").append("ghi");
works faster than this one:
StringBuffer sb = new StringBuffer(100);
sb.append("abc");
sb.append("def");
sb.append("ghi");
It's nice to be important but it's more important to be nice.
Thanks for your attitude!
is there a reason to think that this section:
StringBuffer sb = new StringBuffer(100);
sb.append("abc").append("def").append("ghi");
works faster than this one:
StringBuffer sb = new StringBuffer(100);
sb.append("abc");
sb.append("def");
sb.append("ghi");
It's nice to be important but it's more important to be nice.
Thanks for your attitude!