On 23 août 2010, at 14:55, Mariano Martinez Peck wrote:
Hi. I am using Distribution Maps where I analyze an snapshot, a particular moment of my image state. I would like to be able to compare it with another moment.
For example, I analyze packages and see which classes have instances for evaluating something. Something like this:
^ (self onContainers: (self listOfCorePackagesNames collect: [ :each | (PackageInfo named: each) ]) elements: #classes properties: [:element | element hasUsedInstances ] ) render open.
Then, I do something different (suppose I start a seaside app) and I would like to see the difference between both distribution maps. To easily compare and know which "new" classes where used by running seaside that were not used in the first scenario.
Maybe just a simple solution is to take both DM and to make a 3th with them: check each element...if in both it is the same...them I paint with a particular color. If they are different, each one keeps its original color.
What do you think? is it doable?
Certainly yes
is there someting done about this?
No :)
Notice that there are other visualizations to display history (check Doru)? Depending on the context, it might better suit or not. You have to try to see by yourself. But, DM with a diff sounds easy and good enough.
-- Simon