← Back to team overview

syfi team mailing list archive

Re: [HG syfi] Implemented a sort of CSE in Python, not well tested yet.

 

That was supposed to be:

2007/9/10, Martin Sandve Alnæs <martinal@xxxxxxxxx>:
> Common Subexpression Elimination.
>
> Basically, given:
a = x + y
> b = x + y + z
>
> it can find:
> a = x + y
> b = a + z
>
> but it's not optimal.
>
> --
> Martin
>
>
> 2007/9/10, logg@xxxxxxxxx <logg@xxxxxxxxx>:
> > What is a CSE?
> >
> > /Anders
> >
> >
> > > One or more new changesets pushed to the primary SyFi repository.
> > > A short summary of the last three changesets is included below.
> > >
> > > changeset:   734:1b839c27a604ea52a27f3e4653312b8ceff1278f
> > > tag:         tip
> > > user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
> > > date:        Mon Sep 10 11:56:04 2007 +0200
> > > files:       python/sfc/optimize/opt2.py
> > > description:
> > > Implemented a sort of CSE in Python, not well tested yet.
> > >
> > >
> > > changeset:   733:92cda5611dfa503c8cddcb396f236e48b239b4d3
> > > user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
> > > date:        Fri Sep 07 16:44:01 2007 +0200
> > > files:       python/sfc/optimize/opt2.py
> > > description:
> > > Implemented eliminate_equal_expressions.
> > >
> > >
> > > changeset:   732:5cc3309c444dc0fe0a29a7b73ff73dad9aee0cb0
> > > user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
> > > date:        Fri Sep 07 16:10:17 2007 +0200
> > > files:       python/sfc/optimize/opt2.py
> > > description:
> > > Finished implementation of extract_functions.
> > >
> > >
> > > ----------------------------------------------------------------------
> > > For more details, visit http://www.fenics.org/hg/syfi
> > > _______________________________________________
> > > SyFi-dev mailing list
> > > SyFi-dev@xxxxxxxxxx
> > > http://fenics.org/mailman/listinfo/syfi-dev
> > >
> >
> >
> > _______________________________________________
> > SyFi-dev mailing list
> > SyFi-dev@xxxxxxxxxx
> > http://fenics.org/mailman/listinfo/syfi-dev
> >
>


-- 
Martin


References