Changeset af90121


Ignore:
Timestamp:
Jan 2, 2011 6:56:04 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
bb74bc3
Parents:
f015ce1
Message:

cache tweak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/data/SessionTag.java

    rf015ce1 raf90121  
    1111
    1212import net.i2p.util.RandomSource;
     13import net.i2p.util.SimpleByteCache;
    1314
    1415/**
     
    2930        super();
    3031        if (create) {
    31             _data = new byte[BYTE_LENGTH];
     32            _data = SimpleByteCache.acquire(BYTE_LENGTH);
    3233            RandomSource.getInstance().nextBytes(_data);
    3334        }
Note: See TracChangeset for help on using the changeset viewer.