forked from I2P_Developers/i2p.i2p
Ratchet: Use SparseArray.append() instead of put() for efficiency
This commit is contained in:
@ -494,7 +494,7 @@ class RatchetTagSet implements TagSetHandle {
|
||||
RatchetSessionTag tag = consumeNext();
|
||||
if (tag == null)
|
||||
return;
|
||||
_sessionTags.put(_lastTag, tag);
|
||||
_sessionTags.append(_lastTag, tag);
|
||||
if (_lsnr != null)
|
||||
_lsnr.addTag(tag, this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user