Change 26060 by [EMAIL PROTECTED] on 2005/11/09 11:17:17

        Add a comment about possible future refactoring of the pad code.

Affected files ...

... //depot/perl/pad.c#74 edit

Differences ...

==== //depot/perl/pad.c#74 (text) ====
Index: perl/pad.c
--- perl/pad.c#73~25754~        Thu Oct 13 16:03:46 2005
+++ perl/pad.c  Wed Nov  9 03:17:17 2005
@@ -393,7 +393,13 @@
 
 /* XXX DAPM integrate alloc(), add_name() and add_anon(),
  * or at least rationalise ??? */
-
+/* And flag whether the incoming name is UTF8 or 8 bit?
+   Could do this either with the +ve/-ve hack of the HV code, or expanding
+   the flag bits. Either way, this makes proper Unicode safe pad support.
+   Also could change the sv structure to make the NV a union with 2 U32s,
+   so that SvCUR() could stop being overloaded in pad SVs.
+   NWC
+*/
 
 PADOFFSET
 Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype)
End of Patch.

Reply via email to