brandoncordell

179822?v=3&s=250

Joined 5/29/2017
# Name
179822?v=3&s=64
brandoncordell said 5 months ago:

Would it make sense to memoize the User.count call? I'm not super familiar with memoization, so I'm not sure whether it would benefit this specific situation.

635114?v=3&s=64
kobaltz said 5 months ago:

Not really since it isn't being used elsewhere in the class. Keep in mind that the memorization is only valid for the lifecycle of the request and any further requests would no longer have the calculations stored.