[elephant-ticket] Re: #38: Map over types

elephant elephant-devel at common-lisp.net
Sun Mar 25 14:12:15 UTC 2007


#38: Map over types
--------------------------+-------------------------------------------------
  Reporter:  ieslick      |       Owner:  ieslick      
      Type:  enhancement  |      Status:  new          
  Priority:  minor        |   Milestone:  Release 0.8.0
 Component:  db-bdb       |     Version:               
Resolution:               |    Keywords:               
--------------------------+-------------------------------------------------
Old description:

> Right now there is no good way to map over types is a btree or index.
> There are two notions of types to think about: primitive serializer types
> (select by type tag) or lisp types (which requires deserializing all
> values).  The trick to lisp types is either to do a full scan with lisp
> subtypes, or to do a set/pset to the primitive supertype, then filter out
> the subtypes according to the type specifier.
>
> This might be put off until someone requests it as typically indexes are
> looking at ranges of
>
> Ideal implementation?  Only deserialize values if primitive types match -
> lazy deserialization is a general feature that might be nice.

New description:

 Right now there is no good way to map over types is a btree or index.
 There are two notions of types to think about: primitive serializer types
 (select by type tag) or lisp types (which requires deserializing all
 values).  The trick to lisp types is either to do a full scan with lisp
 subtypes, or to do a set/pset to the primitive supertype, then filter out
 the subtypes according to the type specifier.

 This might be put off until someone requests it as typically indexes are
 looking at ranges of

 Ideal implementation?  Only deserialize values if primitive types match.
 This is a subset of the lazy deserialization feature discussed in ticket
 #39.

-- 
Ticket URL: <http://trac.common-lisp.net/elephant/ticket/38>
elephant <http://common-lisp.net/project/elephant>
elephant


More information about the elephant-ticket mailing list