summaryrefslogtreecommitdiff
path: root/lib/scripts/helpers.js
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2010-11-15 22:13:36 +0100
committerMichael Hamann <michael@content-space.de>2010-11-15 22:13:36 +0100
commit037b55733d384c194f7554c832f95a5e566c5884 (patch)
tree6720a2b1aaf581bbdf5fee686d29570c6fddc981 /lib/scripts/helpers.js
parent06af2d035180c4fb746a9b88c11178c516c88092 (diff)
downloadrpg-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/helpers.js')
0 files changed, 0 insertions, 0 deletions