Subject: | Works very nicely, but it runs out... |
Summary: | Package rating comment |
Messages: | 2 |
Author: | Hung Su |
Date: | 2011-06-03 04:19:32 |
Update: | 2011-06-03 06:05:28 |
|
|
|
Hung Su rated this package as follows:
Utility: | Good |
Consistency: | Good |
Examples: | Good |
|
![Picture of Hung Su Picture of Hung Su](/graphics/unknown.gif) Hung Su - 2011-06-03 04:19:34
Works very nicely, but it runs out of memory easily. Wanted 250MB on one of my last runs and I don't know how to optimise it myself.
![Picture of Er. Rochak Chauhan Picture of Er. Rochak Chauhan](/picture/user/178944.png) Er. Rochak Chauhan - 2011-06-03 06:05:28 - In reply to message 1 from Hung Su
Hi,
Thanks for the appreciation. This class is just for educational use. If you want professional version, feel free to contact me.
BTW, I am storing all the files/folders in an array before searching. That is what coursing memory crash in case of large file structure. The simple fix is to read a file and scan at the same time. In case of success,display (echo/print) the result then and there without storing it in array/string.
Regards,
Rochak Chauhan
|