Commit 60791995 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

added tag marking potential performance improvement.

Signed-off-by: Kristof Szabados's avatarKristof Szabados <>
parent fb4f0f10
......@@ -419,6 +419,7 @@ public final class TTCN_Buffer {
final int n_chars = p_cs.lengthof().get_int();
if (n_chars > 0) { // there is something in the CHARSTRING
final StringBuilder temp = p_cs.get_value();
//TODO could we save on the checks of charAt below, by first using getChars and indexing its result?
if (buf_len > 0) { // there is something in this buffer, append
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment