[wp-trac] [WordPress Trac] #16794: pomo/streams.php str_split() suggestion ?
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 8 00:10:23 UTC 2011
#16794: pomo/streams.php str_split() suggestion ?
-------------------------+------------------------------
Reporter: mrasnika | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: minor | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by mrasnika):
It seems that this "optimization" is not going to help at all since all
arguments are passed by reference UNTIL/UNLESS they are modified:
''PHP already optimises it - variables are assigned using copy-on-write,
and objects are passed by reference''
http://stackoverflow.com/questions/496669/are-php-strings-immutable
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16794#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list