JordanMarr/Marr.DataMapper — pull request #6 by kayone (2013-06-03 22:39:21+00:00)
Title: CompiledExpression and Conditional LazyLoading

so here is big one with some breaking changes but I think they are worth it.

1 - (No breaking change) allows you to add a condition on a lazy-loaded model so you could specify for example don't event attempt to lazyload something with foreign key of 0.

2- Replaced uses of reflection with compiled delegates/expressions, based on my benchmark they are around 200 to 300 times faster (almost as fast as directly calling the property). This one introduces a slight breaking change for people whom implemented their own IReflectionStrategy which shouldn't be that many, so I think it would be worth it.