Use workspace for count and CTable

This commit is contained in:
Nick Terrell
2017-03-02 16:38:07 -08:00
parent a419777eb1
commit d051cd5b43
3 changed files with 23 additions and 10 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ struct ZSTD_CCtx_s {
FSE_CTable offcodeCTable [FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];
FSE_CTable matchlengthCTable[FSE_CTABLE_SIZE_U32(MLFSELog, MaxML)];
FSE_CTable litlengthCTable [FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
unsigned tmpCounters[1024];
unsigned tmpCounters[HUF_WORKSPACE_SIZE_U32];
};
ZSTD_CCtx* ZSTD_createCCtx(void)