This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Always NUL-terminate opsets
[perl5.git] / Todo
1 Tie 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
6
7 Would be nice to have
8         pack "(stuff)*"
9         Contiguous bitfields in pack/unpack
10         lexperl
11         Bundled perl preprocessor
12         Use posix calls internally where possible
13         gettimeofday
14         format BOTTOM
15         -iprefix.
16         -i rename file only when successfully changed
17         All ARGV input should act like <>
18         report HANDLE [formats].
19         support in perlmain to rerun debugger
20         regression tests using __DIE__ hook
21         reference to compiled regexp
22         lexically scoped functions: my sub foo { ... }
23         lvalue functions
24
25 Possible pragmas
26         debugger
27         optimize (use less memory, CPU)
28
29 Optimizations
30         constant function cache
31         switch structures
32         eval qw() at compile time
33         foreach (1..1000000)
34         foreach(reverse...)
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
39         Cache hash value?  (Not a win, according to Guido)
40         Optimize away @_ where possible
41         "one pass" global destruction
42         Optimize sort by { $a <=> $b }
43         Rewrite regexp parser for better integrated optimization
44         LRU cache of regexp: foreach $pat (@pats) { foo() if /$pat/ }
45
46 Vague possibilities
47         ref function in list context
48         data prettyprint function?  (or is it, as I suspect, a lib routine?)
49         make tr/// return histogram in list context?
50         undef wantarray in void context
51         Loop control on do{} et al
52         Explicit switch statements
53         built-in globbing
54         compile to real threaded code
55         structured types
56         autocroak?
57         Modifiable $1 et al
58         substr EXPR,OFFSET,LENGTH,STRING
59