In DM 1.0.2, ManyToOne::Relationship#get takes 3.4 seconds per 515 calls. DM 0.10.0 takes 0.11 seconds per 400 calls. This slows down validation that happens when an object is created.
It goes down to Query#initialize that is around 4 times slower in DM 1.0.
Created by Alexander Sorokin - 2010-11-02 21:23:26 UTC
Original Lighthouse ticket: http://datamapper.lighthouseapp.com/projects/20609/tickets/1442
该提问来源于开源项目:datamapper/dm-core