From fe5bfecd71ca735f83568f7bc2b9f22cc82e3d61 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Wed, 29 Aug 2007 17:04:53 -0400 Subject: misc blead stuff Message-ID: <46D617B5.3000002@iki.fi> p4raw-id: //depot/perl@31765 --- pod/perlapi.pod | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pod/perlapi.pod') diff --git a/pod/perlapi.pod b/pod/perlapi.pod index 702cd50197..c8ac82746d 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -5167,11 +5167,11 @@ X Creates a new SV with its SvPVX_const pointing to a shared string in the string table. If the string does not already exist in the table, it is created -first. Turns on READONLY and FAKE. The string's hash is stored in the UV -slot of the SV; if the C parameter is non-zero, that value is used; -otherwise the hash is computed. The idea here is that as the string table -is used for shared hash keys these strings will have SvPVX_const == HeKEY and -hash lookup will avoid string compare. +first. Turns on READONLY and FAKE. If the C parameter is non-zero, that +value is used; otherwise the hash is computed. The string's hash can be later +be retrieved from the SV with the C macro. The idea here is +that as the string table is used for shared hash keys these strings will have +SvPVX_const == HeKEY and hash lookup will avoid string compare. SV* newSVpvn_share(const char* s, I32 len, U32 hash) -- cgit v1.2.1