php-src/ext/standard
jim winstead ca15b22212 New memcpy()-based wordwrap() implementation. The simple case
(single-character break, no forced break) appears to be about 60%
faster, and there's simply no comparison for non-simple cases with
non-trivial amounts of text. The old algorithm was O(n^2) (with an
unfortunately large constant factor) because of the use of strncat(),
the new one is O(n). Added some more tests, too.
@ - Made wordwrap() significantly faster. (Jim)
# test case: $t = join('',file('ChangeLog')); $w = wordwrap($t,10,"\n",1);
# new code completes in less than a second. i'm still waiting for the
# old code to finish.
2002-01-05 20:46:43 +00:00
..
tests New memcpy()-based wordwrap() implementation. The simple case 2002-01-05 20:46:43 +00:00
array.c - Added extra parameter to count() that recursively counts elements in an 2001-12-29 20:59:59 +00:00
assert.c Update headers. 2001-12-11 15:32:16 +00:00
base64.c Update headers. 2001-12-11 15:32:16 +00:00
base64.h Update headers. 2001-12-11 15:32:16 +00:00
basic_functions.c Fixed some protos. 2002-01-05 07:54:49 +00:00
basic_functions.h - Removed is_array_multidimensional 2001-12-29 22:59:40 +00:00
browscap.c Update headers. 2001-12-11 15:32:16 +00:00
config.m4 Enable chroot() only if SAPI is CGI. 2001-09-12 02:07:46 +00:00
crc32.c Update headers. 2001-12-11 15:32:16 +00:00
CREDITS 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
credits_ext.h Whitespace 2001-08-11 17:03:37 +00:00
credits_sapi.h Whitespace 2001-08-11 17:03:37 +00:00
credits.c PHP 4.0 -> PHP 4. Patch by Martin Jansen <mail@martin-jansen.de>. 2001-12-29 14:23:58 +00:00
credits.h Update headers. 2001-12-11 15:32:16 +00:00
crypt.c Update headers. 2001-12-11 15:32:16 +00:00
cyr_convert.c Update headers. 2001-12-11 15:32:16 +00:00
cyr_convert.h Update headers. 2001-12-11 15:32:16 +00:00
datetime.c Update headers. 2001-12-11 15:32:16 +00:00
datetime.h Update headers. 2001-12-11 15:32:16 +00:00
dir.c protos fixes by Wolfgang Drews 2002-01-03 06:57:22 +00:00
dl.c Update headers. 2001-12-11 15:32:16 +00:00
dl.h Update headers. 2001-12-11 15:32:16 +00:00
dns.c Making PHP compile again on MacOSX 10.1 2001-12-27 15:42:05 +00:00
dns.h Update headers. 2001-12-11 15:32:16 +00:00
exec.c Update headers. 2001-12-11 15:32:16 +00:00
exec.h Update headers. 2001-12-11 15:32:16 +00:00
file.c - Added open basedir checks to file functions. (Patch by 2001-12-21 08:04:21 +00:00
file.h Update headers. 2001-12-11 15:32:16 +00:00
filestat.c Update headers. 2001-12-11 15:32:16 +00:00
flock_compat.c Update headers. 2001-12-11 15:32:16 +00:00
flock_compat.h Update headers. 2001-12-11 15:32:16 +00:00
formatted_print.c Update headers. 2001-12-11 15:32:16 +00:00
fsock.c Update headers. 2001-12-11 15:32:16 +00:00
fsock.h Update headers. 2001-12-11 15:32:16 +00:00
ftok.c proto fixes 2001-12-16 10:18:45 +00:00
ftp_fopen_wrapper.c Undefine AF_UNIX under RISC OS 2001-12-23 00:46:13 +00:00
head.c Update headers. 2001-12-11 15:32:16 +00:00
head.h Update headers. 2001-12-11 15:32:16 +00:00
html.c Update headers. 2001-12-11 15:32:16 +00:00
html.h Update headers. 2001-12-11 15:32:16 +00:00
http_fopen_wrapper.c Undefine AF_UNIX under RISC OS 2001-12-23 00:46:13 +00:00
image.c Update headers. 2001-12-11 15:32:16 +00:00
incomplete_class.c Update headers. 2001-12-11 15:32:16 +00:00
info.c PHP 4.0 -> PHP 4. Patch by Martin Jansen <mail@martin-jansen.de>. 2001-12-29 14:23:58 +00:00
info.h Update headers. 2001-12-11 15:32:16 +00:00
iptc.c Update headers. 2001-12-11 15:32:16 +00:00
lcg.c Update headers. 2001-12-11 15:32:16 +00:00
levenshtein.c Update headers. 2001-12-11 15:32:16 +00:00
link.c Update headers. 2001-12-11 15:32:16 +00:00
mail.c Update headers. 2001-12-11 15:32:16 +00:00
Makefile.in Check in ftok() function by Andrew Sitnikov <sitnikov@infonet.ee> 2001-11-15 09:53:40 +00:00
math.c Fix the Win32 compile. 2002-01-05 08:29:53 +00:00
md5.c Update headers. 2001-12-11 15:32:16 +00:00
md5.h Update headers. 2001-12-11 15:32:16 +00:00
metaphone.c Update headers. 2001-12-11 15:32:16 +00:00
microtime.c Update headers. 2001-12-11 15:32:16 +00:00
microtime.h Update headers. 2001-12-11 15:32:16 +00:00
pack.c Update headers. 2001-12-11 15:32:16 +00:00
pack.h Update headers. 2001-12-11 15:32:16 +00:00
pageinfo.c Update headers. 2001-12-11 15:32:16 +00:00
pageinfo.h Update headers. 2001-12-11 15:32:16 +00:00
parsedate.y - Fix a bug in timezones +0100 and -0100 2001-12-02 11:35:28 +00:00
php_array.h Update headers. 2001-12-11 15:32:16 +00:00
php_assert.h Update headers. 2001-12-11 15:32:16 +00:00
php_browscap.h Update headers. 2001-12-11 15:32:16 +00:00
php_crypt.h Update headers. 2001-12-11 15:32:16 +00:00
php_dir.h Update headers. 2001-12-11 15:32:16 +00:00
php_ext_syslog.h Update headers. 2001-12-11 15:32:16 +00:00
php_filestat.h Update headers. 2001-12-11 15:32:16 +00:00
php_fopen_wrapper.c Update headers. 2001-12-11 15:32:16 +00:00
php_fopen_wrappers.h Update headers. 2001-12-11 15:32:16 +00:00
php_ftok.h Update headers. 2001-12-11 15:32:16 +00:00
php_image.h Update headers. 2001-12-11 15:32:16 +00:00
php_incomplete_class.h Update headers. 2001-12-11 15:32:16 +00:00
php_iptc.h Update headers. 2001-12-11 15:32:16 +00:00
php_lcg.h Update headers. 2001-12-11 15:32:16 +00:00
php_link.h Update headers. 2001-12-11 15:32:16 +00:00
php_mail.h Update headers. 2001-12-11 15:32:16 +00:00
php_math.h Fixed pow(), and added finite(), isinf(), and isnan(). Also fixed 2002-01-05 03:45:11 +00:00
php_metaphone.h Update headers. 2001-12-11 15:32:16 +00:00
php_parsedate.h Update headers. 2001-12-11 15:32:16 +00:00
php_rand.h Update headers. 2001-12-11 15:32:16 +00:00
php_smart_str_public.h Update headers. 2001-12-11 15:32:16 +00:00
php_smart_str.h Update headers. 2001-12-11 15:32:16 +00:00
php_standard.h Update headers. 2001-12-11 15:32:16 +00:00
php_string.h Update headers. 2001-12-11 15:32:16 +00:00
php_var.h Update headers. 2001-12-11 15:32:16 +00:00
php_versioning.h Update headers. 2001-12-11 15:32:16 +00:00
quot_print.c Update headers. 2001-12-11 15:32:16 +00:00
quot_print.h Update headers. 2001-12-11 15:32:16 +00:00
rand.c Update headers. 2001-12-11 15:32:16 +00:00
reg.c Be more aggressive in making sure that substring matches are valid in 2002-01-05 01:59:11 +00:00
reg.h Update headers. 2001-12-11 15:32:16 +00:00
scanf.c Update headers. 2001-12-11 15:32:16 +00:00
scanf.h Update headers. 2001-12-11 15:32:16 +00:00
soundex.c Update headers. 2001-12-11 15:32:16 +00:00
string.c New memcpy()-based wordwrap() implementation. The simple case 2002-01-05 20:46:43 +00:00
strnatcmp.c - Don't wrap lines... this is annoying while coding. 2001-09-09 13:29:31 +00:00
syslog.c Update headers. 2001-12-11 15:32:16 +00:00
type.c Update headers. 2001-12-11 15:32:16 +00:00
type.h Update headers. 2001-12-11 15:32:16 +00:00
uniqid.c Update headers. 2001-12-11 15:32:16 +00:00
uniqid.h Update headers. 2001-12-11 15:32:16 +00:00
url_scanner_ex.c Update headers. 2001-12-11 15:32:16 +00:00
url_scanner_ex.h Update headers. 2001-12-11 15:32:16 +00:00
url_scanner_ex.re Update headers. 2001-12-11 15:32:16 +00:00
url_scanner.c Update headers. 2001-12-11 15:32:16 +00:00
url_scanner.h Update headers. 2001-12-11 15:32:16 +00:00
url.c Update headers. 2001-12-11 15:32:16 +00:00
url.h Update headers. 2001-12-11 15:32:16 +00:00
var_unserializer.c increase timestamp, because make tries to regenerate this file without any reason 2001-12-05 21:45:33 +00:00
var_unserializer.re Allow unserializer_callback_func to be turned off. 2001-12-02 17:31:11 +00:00
var.c - TSRMLS here and there, it's all about the Windows flair 2001-12-15 14:55:18 +00:00
versioning.c return boolean where appropriate 2001-12-12 01:36:07 +00:00