mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
perf: Improve Lz4DecodeStream
This commit is contained in:
@@ -15,6 +15,7 @@ using System.Collections.Generic;
|
|||||||
using System.ComponentModel.Composition;
|
using System.ComponentModel.Composition;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
@@ -1177,6 +1178,7 @@ namespace GameRes.Formats.KiriKiri
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public int ReadByte ()
|
public int ReadByte ()
|
||||||
{
|
{
|
||||||
if (m_pos == m_size[m_index])
|
if (m_pos == m_size[m_index])
|
||||||
|
|||||||
Reference in New Issue
Block a user