* Replaced most CSJ2K Array.Copy() calls with the faster Buffer.BlockCopy() for a ~17% speedup (LIBOMV-861)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3411 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -756,7 +756,7 @@ namespace CSJ2K.j2k.entropy.decoder
|
||||
/// </param>
|
||||
public void resetCtxts()
|
||||
{
|
||||
Array.Copy(initStates, 0, I, 0, I.Length);
|
||||
Buffer.BlockCopy(initStates, 0, I, 0, I.Length);
|
||||
ArrayUtil.intArraySet(mPS, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user