Edit report at https://bugs.php.net/bug.php?id=46151&edit=1

 ID:                 46151
 Updated by:         s...@php.net
 Reported by:        Keisial at gmail dot com
 Summary:            file_get_contents() doesn't use mmap
-Status:             Open
+Status:             Not a bug
 Type:               Feature/Change Request
-Package:            Feature/Change Request
+Package:            *General Issues
 Operating System:   *
 PHP Version:        5.2CVS-2008-09-22 (snap)
 Block user comment: N
 Private report:     N

 New Comment:

5.2 is not supported anymore.


Previous Comments:
------------------------------------------------------------------------
[2008-09-22 12:12:08] Keisial at gmail dot com

Description:
------------
As opposed to 5.3 on 5.2 php_stream_copy_to_mem doesn't use 
php_stream_mmap_range, even though there is a comment on the call to 
php_stream_copy_to_mem saying 'uses mmap if possible' (on  file_get_contents, 
at file.c:562)

5.2 is using read() calls instead. Still, 5.2 is faster both in loading and 
treating the file.



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=46151&edit=1

Reply via email to