Smaller memory requirements on compile time (dict * 2 + 5MB)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3218 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
23f1461de7
commit
ef1901d5aa
2 changed files with 248 additions and 198 deletions
|
@ -15,6 +15,15 @@
|
|||
|
||||
int MMapFile::m_iAllocationGranularity = 0;
|
||||
|
||||
DWORD WINAPI lzmaCompressThread(LPVOID lpParameter)
|
||||
{
|
||||
CLZMA *Compressor = (CLZMA *) lpParameter;
|
||||
if (!Compressor)
|
||||
return 0;
|
||||
|
||||
return Compressor->CompressReal();
|
||||
}
|
||||
|
||||
bool isSimpleChar(char ch)
|
||||
{
|
||||
return (ch == '.' ) || (ch == '_' ) || (ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue