On Wed, May 18, 2011 at 8:47 AM, Vinzent Steinberg <
vinzent.steinb...@googlemail.com> wrote:

>
> I'm a bit worried about performance if you use Expr instances. Maybe
> have a low-level integer representation, so you can implement a high-
> level interface later which works for arbitrary elements, but does the
> computations using the fast representation? This could be an object
> that stores the mapping between your arbitrary finite set and the
> integers together with the integer representation, and maps back
> automatically for printing etc.
>

  This was precisely the plan from what I gather (Saptarshi can correct me
if I'm wrong), but the question was primarily what the interface to the
function should be (in the context of keeping things as symbolic as
possible).

  Cheers,
   Christian

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to