joes        2004/07/13 14:09:18

  Modified:    .        STATUS
  Log:
  Add note on MAGIC KEY functionality in STATUS.
  
  Revision  Changes    Path
  1.67      +18 -1     httpd-apreq-2/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/STATUS,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- STATUS    11 Jul 2004 01:36:06 -0000      1.66
  +++ STATUS    13 Jul 2004 21:09:18 -0000      1.67
  @@ -83,6 +83,23 @@
       - Should we bundle an apr-based "application/xml" parser?  
         If so, how should we parse the xml data into an apr_table?
   
  +    - For 5.8.1+, the current perl-glue implementation enables 
  +      MAGIC KEYS for all the @keys = $obj->get() calls.  The entries 
  +      in @keys are scalars with vstring-magic which is survives
  +      assignment.  The magic contains a pointer to the perl object
  +      $obj references, and a pointer to the table value associated
  +      with the key. A subsequent call to $val = $obj->get($key[$n])
  +      bypasses the normal table lookups, using the magic in $key[$n] 
  +      to retrieve $val.
  +      .
  +      I don't know if the faster lookups balance out the overhead
  +      of attaching the v-string magic, so it's something that probably
  +      should be benchmarked.  However the real motivation for this
  +      was to provide better support for multivalued keys (since a
  +      magic key "knows" which value it's associated with).  Whether
  +      or not users will appreciate this feature, or find it too confusing,
  +      is presently unknown.
  +
   
   BUGS:
   
  
  
  

Reply via email to