summaryrefslogtreecommitdiff
path: root/pod/perltodo.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perltodo.pod')
-rw-r--r--pod/perltodo.pod22
1 files changed, 0 insertions, 22 deletions
diff --git a/pod/perltodo.pod b/pod/perltodo.pod
index 77e2c8fc07..71aa49d154 100644
--- a/pod/perltodo.pod
+++ b/pod/perltodo.pod
@@ -126,28 +126,6 @@ tests that are currently missing.
A full test suite for the B module would be nice.
-=head2 Deparse inlined constants
-
-Code such as this
-
- use constant PI => 4;
- warn PI
-
-will currently deparse as
-
- use constant ('PI', 4);
- warn 4;
-
-because the tokenizer inlines the value of the constant subroutine C<PI>.
-This allows various compile time optimisations, such as constant folding
-and dead code elimination. Where these haven't happened (such as the example
-above) it ought be possible to make B::Deparse work out the name of the
-original constant, because just enough information survives in the symbol
-table to do this. Specifically, the same scalar is used for the constant in
-the optree as is used for the constant subroutine, so by iterating over all
-symbol tables and generating a mapping of SV address to constant name, it
-would be possible to provide B::Deparse with this functionality.
-
=head2 A decent benchmark
C<perlbench> seems impervious to any recent changes made to the perl core. It