[TASK] Optimizations for IPv6-functions in t3lib_div
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 2 Aug 2011 11:08:08 +0000 (13:08 +0200)
committerAndreas Wolf <andreas.wolf@ikt-werk.de>
Sun, 7 Aug 2011 11:09:09 +0000 (13:09 +0200)
commitde17eb22212049d15d29d36768769f09c7cb4e3b
treeebac6c5aef257ba00be0c33dcd04b803d55b965d
parent2329466c67a0a133c525567c79cd263819566151
[TASK] Optimizations for IPv6-functions in t3lib_div

* speedup by using IPv6-support from PHP if present
* since there is IPv6Hex2Bin(), also add IPv6Bin2Hex()
* since there is normalizeIPv6(), also add compressIPv6()
* normalization also involves converting to lowercase
* extend unit-tests

Change-Id: I7c9eda4de0f2c06f06a530f1180233d592f9dfdc
Resolves: #28669
Releases: 4.6, 4.7
Reviewed-on: http://review.typo3.org/4019
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
t3lib/class.t3lib_div.php
tests/t3lib/class.t3lib_divTest.php