Performance of Sharing

After paraphrasing a computation I had found in a paper , I realized I had ruined its performance.