This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document 'Possible attempt to separate words with commas'
[perl5.git] / Todo
CommitLineData
8990e307
LW
1Tie Modules
2 VecArray Implement array using vec()
3 SubstrArray Implement array using substr()
4 VirtualArray Implement array using a file
5 ShiftSplice Defines shift et al in terms of splice method
93a17b20 6
8990e307 7Would be nice to have
463ee0b2 8 pack "(stuff)*"
85e6fe83 9 Contiguous bitfields in pack/unpack
463ee0b2
LW
10 lexperl
11 Bundled perl preprocessor
8990e307 12 Use posix calls internally where possible
8990e307 13 gettimeofday
8990e307 14 format BOTTOM
8990e307 15 -iprefix.
2304df62 16 -i rename file only when successfully changed
8990e307 17 All ARGV input should act like <>
2304df62 18 report HANDLE [formats].
a0d0e21e 19 support in perlmain to rerun debugger
aa00cc68
TB
20 regression tests using __DIE__ hook
21 reference to compiled regexp
22 lexically scoped functions: my sub foo { ... }
23 lvalue functions
8990e307 24
a0d0e21e 25Possible pragmas
85e6fe83 26 debugger
a0d0e21e 27 optimize (use less memory, CPU)
463ee0b2
LW
28
29Optimizations
a0d0e21e
LW
30 constant function cache
31 switch structures
4633a7c4 32 eval qw() at compile time
a0d0e21e
LW
33 foreach (1..1000000)
34 foreach(reverse...)
463ee0b2
LW
35 Set KEEP on constant split
36 Cache eval tree (unless lexical outer scope used (mark in &compiling?))
37 rcatmaybe
38 Shrink opcode tables via multiple implementations selected in peep
a0d0e21e 39 Cache hash value? (Not a win, according to Guido)
ed6116ce 40 Optimize away @_ where possible
8990e307 41 "one pass" global destruction
2304df62 42 Optimize sort by { $a <=> $b }
a0d0e21e 43 Rewrite regexp parser for better integrated optimization
aa00cc68 44 LRU cache of regexp: foreach $pat (@pats) { foo() if /$pat/ }
463ee0b2 45
a0d0e21e 46Vague possibilities
8990e307 47 ref function in list context
463ee0b2 48 data prettyprint function? (or is it, as I suspect, a lib routine?)
463ee0b2
LW
49 make tr/// return histogram in list context?
50 undef wantarray in void context
463ee0b2
LW
51 Loop control on do{} et al
52 Explicit switch statements
463ee0b2
LW
53 built-in globbing
54 compile to real threaded code
55 structured types
85e6fe83 56 autocroak?
a0d0e21e
LW
57 Modifiable $1 et al
58 substr EXPR,OFFSET,LENGTH,STRING
a0d0e21e 59