some microtuning
This commit is contained in:
parent
d963814d78
commit
2213d4f7fc
9 changed files with 278 additions and 149 deletions
|
|
@ -502,7 +502,7 @@ public final class MicroCache2 extends MicroCache
|
|||
}
|
||||
if ( pass == 3 )
|
||||
{
|
||||
return bc.getEncodedLength();
|
||||
return bc.closeAndGetEncodedLength();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ public final class TagValueCoder
|
|||
}
|
||||
|
||||
byte[] res;
|
||||
int len = ctx.getEncodedLength();
|
||||
int len = ctx.closeAndGetEncodedLength();
|
||||
if ( validator == null )
|
||||
{
|
||||
res = new byte[len];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue