summaryrefslogtreecommitdiff
path: root/pod/perltodo.pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-12-23 12:01:29 +0000
committerNicholas Clark <nick@ccl4.org>2005-12-23 12:01:29 +0000
commit70e590749aafa6e0e67a2220f53f1568bf4e16de (patch)
tree656ec441212b0ce57b62f5785247595e7127bdb9 /pod/perltodo.pod
parent2111d92849f8443baa1adfc372a6bedf4537f3e8 (diff)
downloadperl-70e590749aafa6e0e67a2220f53f1568bf4e16de.tar.gz
inlining autoloaded constants is TODOne.
p4raw-id: //depot/perl@26471
Diffstat (limited to 'pod/perltodo.pod')
-rw-r--r--pod/perltodo.pod10
1 files changed, 0 insertions, 10 deletions
diff --git a/pod/perltodo.pod b/pod/perltodo.pod
index 4058be4abf..2ab61f3052 100644
--- a/pod/perltodo.pod
+++ b/pod/perltodo.pod
@@ -556,16 +556,6 @@ program if you pass the process ID. It would be good to do this with the Perl
debugger on a running Perl program, although I'm not sure how it would be
done." ssh and screen do this with named pipes in /tmp. Maybe we can too.
-=head2 inlining autoloaded constants
-
-Currently the optimiser can inline constants when expressed as subroutines
-with prototype ($) that return a constant. Likewise, many packages wrapping
-C libraries export lots of constants as subroutines which are AUTOLOADed on
-demand. However, these have no prototypes, so can't be seen as constants by
-the optimiser. Some way of cheaply (low syntax, low memory overhead) to the
-perl compiler that a name is a constant would be great, so that it knows to
-call the AUTOLOAD routine at compile time, and then inline the constant.
-
=head2 Constant folding
The peephole optimiser should trap errors during constant folding, and give