#1 2009.03.30 12:56

Gemorroj
Administrator
Откуда: Белоруссия
Зарегистрирован: 2007.11.03
Сообщений: 6593
Карма: 107
Профиль Веб-сайт

PclZip 2.7

список нововведений
Improve creation of zip archive for large files : PclZip will now autosense the configured memory and use temporary files when large file is suspected.
This feature can also ne triggered by manual options in create() and add() methods.
'PCLZIP_OPT_ADD_TEMP_FILE_ON' force the use of temporary files, 'PCLZIP_OPT_ADD_TEMP_FILE_OFF' disable the autosense technic, 'PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD' allow for configuration of a size threshold to use temporary files.
Using "temporary files" rather than "memory" might take more time, but might give the ability to zip very large files : Tested on my win laptop with a 88Mo file :
Zip "in-memory" : 18sec (max_execution_time=30, memory_limit=180Mo)
Zip "tmporary-files" : 23sec (max_execution_time=30, memory_limit=30Mo)
Replace use of mktime() by time() to limit the E_STRICT error messages.
Bug correction : When adding files with full windows path (drive letter) PclZip is now working. Before, if the drive letter is not the default path, PclZip was not able to add the file.

Официальный сайт PclZip
лично меня очень радует, что теперь можно выбрать работать с архивами в оперативной памяти, либо используя временные файлы.

Неактивен

#2 2009.03.31 21:34

НЕЗНАЙКА
Участник
Откуда: Россия
Зарегистрирован: 2008.11.24
Сообщений: 313
Карма: 11
Профиль Веб-сайт

Re: PclZip 2.7

A что было раньше? Файлы сохранялись и опять работа с ними?


ДАУН-Данная Аватара Унаследована Незнайкой

Неактивен

#3 2009.03.31 22:21

Gemorroj
Administrator
Откуда: Белоруссия
Зарегистрирован: 2007.11.03
Сообщений: 6593
Карма: 107
Профиль Веб-сайт

Re: PclZip 2.7

раньше использовались только временные файлы, на сколько я понимаю.

Неактивен

Дополнительно

forum.wapinet.ru

PunBB Mod v0.6.2
0.009 s