| 1 |
*** General: |
| 2 |
|
| 3 |
Stabilize stats api |
| 4 |
Document all typedef actions on input and output |
| 5 |
|
| 6 |
Resolve mapping of error codes to booleans |
| 7 |
(see parse_*_reply in http://search.cpan.org/src/KROKI/Cache-Memcached-Fast-0.07/src/client.c) |
| 8 |
|
| 9 |
** Structure: |
| 10 |
|
| 11 |
Add PrintError & RaiseError flags |
| 12 |
|
| 13 |
*** CAS |
| 14 |
|
| 15 |
Add cas support - if sizeof(uint64_t) <= sizeof(UV) then use UV else use a newSV(sizeof(uint64_t)) |
| 16 |
and store the uint64_t as a binary string. |
| 17 |
|
| 18 |
*** 64bit issues |
| 19 |
|
| 20 |
Resolve other uint64_t issues, esp increment/decrement |
| 21 |
|
| 22 |
*** More flexible callbacks, something like: |
| 23 |
|
| 24 |
[ |
| 25 |
[ $bit_mask, \&callback, $callback_style ], |
| 26 |
[ $bit_mask, \&callback, $callback_style ], |
| 27 |
... |
| 28 |
] |
| 29 |
|
| 30 |
the code would iterate along the list and call each callback where any |
| 31 |
bits in $bit_mask are set in $flag. If $bit_mask is undef then the callback |
| 32 |
would be called unconditionally. $callback_style indicates how the |
| 33 |
key, value, flags etc. should be passed in and returned from the |
| 34 |
callback. Several different callback styles would be supported that |
| 35 |
correspond to the APIs used by Storable and IO::Zip, for example, so |
| 36 |
those could be plumbed in and called directly without needing any perl code |
| 37 |
(for the get, for the set the callbacks need extra logic to decide if the |
| 38 |
serialization and compression should be applied to the particular value). |
| 39 |
|
| 40 |
*** Random thoughts... |
| 41 |
|
| 42 |
For *_by_key functions, if $master_key is undef then use some per-$memc mechanism, |
| 43 |
such as a pre-stored scalar, or a callback, to get the value. |