in reply to Re^2: Extensive array compression (a solution)
in thread Extensive array compression

Dear ikegami,
Thank you very much for your replay, this is some wonderful stuff.
This will give me almost all the information needed but how can I tell which element moved where?
Regards.
  • Comment on Re^3: Extensive array compression (a solution)

Replies are listed 'Best First'.
Re^4: Extensive array compression (a solution)
by ikegami (Patriarch) on Jul 16, 2009 at 21:31 UTC
    You do three kinds of changes to your list:
    • Movements off the list (deletions)
    • Movements from off the list (insertions)
    • Movements within the list

    The program found a series of movements that if repeated, would take list A and make it list B. I don't see how the indexes would be useful, so I didn't output them. If you want them, use ->Range() in list context.