More Todo.
[p5sagit/p5-mst-13.2.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 (possibly best left for a module?)
14         format BOTTOM
15         -i rename file only when successfully changed
16         All ARGV input should act like <>
17         report HANDLE [formats].
18         support in perlmain to rerun debugger
19         regression tests using __DIE__ hook
20         reference to compiled regexp
21         lexically scoped functions: my sub foo { ... }
22         lvalue functions
23         regression/sanity tests for suidperl
24         Full 64 bit support (i.e. "long long").  Things to consider:
25             how to store/retrieve 32+ integers into/from Perl scalars?
26             32+ constants in Perl code? (non-portable!)
27             32+ arguments/return values to/from system calls? (seek et al)
28             32+ bit ops (&|^~, currently explicitly disabled)
29         The _r-problem: for all the {set,get,end}*() system database
30              calls (and a couple more: readdir, *rand*, crypt, *time,
31              tmpnam) there are in many systems the _r versions
32              to be used in re-entrant (=multithreaded) code.
33         Generalise Errno way of extracting cpp symbols and use that in
34             Errno and Fcntl (ExtUtils::CppSymbol?)
35
36 Possible pragmas
37         debugger
38         optimize (use less memory, CPU)
39
40 Optimizations
41         constant function cache
42         switch structures
43         foreach(reverse...)
44         Set KEEP on constant split
45         Cache eval tree (unless lexical outer scope used (mark in &compiling?))
46         rcatmaybe
47         Shrink opcode tables via multiple implementations selected in peep
48         Cache hash value?  (Not a win, according to Guido)
49         Optimize away @_ where possible
50         "one pass" global destruction
51         Rewrite regexp parser for better integrated optimization
52         LRU cache of regexp: foreach $pat (@pats) { foo() if /$pat/ }
53
54 Vague possibilities
55         ref function in list context
56         make tr/// return histogram in list context?
57         Loop control on do{} et al
58         Explicit switch statements
59         built-in globbing
60         compile to real threaded code
61         structured types
62         autocroak?
63         Modifiable $1 et al
64