 
         private mutating func heightOfFeed(feed: DiscoveredFeed) -> CGFloat {
 
-            if let layout = feedCellLayoutOfFeed(feed) {
-                return layout.height
-
-            } else {
-                let layout = FeedCellLayout(feed: feed)
-                updateFeedCellLayout(layout, forFeed: feed)
-                return layout.height
-            }
+            let layout = feedCellLayoutOfFeed(feed)
+            return layout.height
         }
     }
     private static var layoutPool = LayoutPool()

                    break
                }

                cell.configureWithFeed(feed, layoutCache: layoutCache, needShowSkill: needShowSkill)

                cell.tapLocationAction = { locationName, locationCoordinate in



        private var feedCellLayoutHash = [String: FeedCellLayout]()

        private mutating func feedCellLayoutOfFeed(feed: DiscoveredFeed) -> FeedCellLayout {
            let key = feed.id

            if let layout = feedCellLayoutHash[key] {
                return layout

            } else {
                let layout = FeedCellLayout(feed: feed)

                updateFeedCellLayout(layout, forFeed: feed)

                return layout
            }
        }

        private mutating func updateFeedCellLayout(layout: FeedCellLayout, forFeed feed: DiscoveredFeed) {
