Skip to content
  • Sean Griffin's avatar
    08576b94
    Improve the performance of reading attributes · 08576b94
    Sean Griffin authored
    We added a comparison to "id", and call to `self.class.primary_key` a
    *lot*. We also have performance hits from `&block` all over the place.
    We skip the check in a new method, in order to avoid breaking the
    behavior of `read_attribute`
    08576b94
    Improve the performance of reading attributes
    Sean Griffin authored
    We added a comparison to "id", and call to `self.class.primary_key` a
    *lot*. We also have performance hits from `&block` all over the place.
    We skip the check in a new method, in order to avoid breaking the
    behavior of `read_attribute`
Loading