@sgrif Is it me, or is the AR query cache far slower than just memoizing the result? Why is this?
-
-
Replying to @nateberkopec
As in memoizing record construction? Because the query cache shouldn't change the behavior of the methods in question
1 reply 0 retweets 0 likes -
Replying to @sgrif2 replies 0 retweets 0 likes
Replying to @nateberkopec
It caches the result of `ActiveRecord::Base.connection.execute("SELECT * FROM products")` more work to do Product.all
6:03 PM - 22 Jun 2016
from Ottawa, Ontario
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.