question about sublist



On 4/18/07, sen1 at math.msu.edu <sen1 at math.msu.edu> wrote:...

Perhaps my sloppy coding of the test:

          if sign(first(l))=sign(first(nextl))

is responsible for this.  Try

          if first(l)*first(nextl) > 0

That should speed things up.

                -s