Add S_sv_pos_u2b_midway for when we know the utf-8/bytes offsets on
authorNicholas Clark <nick@ccl4.org>
Wed, 22 Mar 2006 21:19:50 +0000 (21:19 +0000)
committerNicholas Clark <nick@ccl4.org>
Wed, 22 Mar 2006 21:19:50 +0000 (21:19 +0000)
commitc336ad0b0ffc3d19ec24d23d8bc7a30158ac1ae5
treeaa15fdbfde74b7079a5843fb1100a5807ef56ce7
parent28ccbf949dabb67c68ce034cf8b582683d4ca2a5
Add S_sv_pos_u2b_midway for when we know the utf-8/bytes offsets on
both sides of the desired offset, so could count either way.
Use cached utf-8 length in S_sv_pos_u2b_cached.
Check the results if PL_utf8cache < 0.

p4raw-id: //depot/perl@27573
sv.c