diff options
author | Michael Hamann <michael@content-space.de> | 2010-11-15 22:13:36 +0100 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2010-11-15 22:13:36 +0100 |
commit | 037b55733d384c194f7554c832f95a5e566c5884 (patch) | |
tree | 6720a2b1aaf581bbdf5fee686d29570c6fddc981 /lib/scripts/events.js | |
parent | 06af2d035180c4fb746a9b88c11178c516c88092 (diff) | |
download | rpg-037b55733d384c194f7554c832f95a5e566c5884.tar.gz rpg-037b55733d384c194f7554c832f95a5e566c5884.tar.bz2 |
Indexer improvement: replace _freadline by fgets
In PHP versions newer than 4.3.0 fgets reads a whole line regardless of
its length when no length is given. Thus the loop in _freadline isn't
needed. This increases the speed significantly as _freadline was called
very often.
Diffstat (limited to 'lib/scripts/events.js')
0 files changed, 0 insertions, 0 deletions