On Jul 21, 2013 4:06 AM, "Noah Misch" <n...@leadboat.com> wrote: > If these hooks will need to apply to a larger operation, I > think that mandates a different means to reliably expose the before/after > object states.
I haven't checked the code to see how it would fit the API, but what about taking a snapshot before altering and passing this to the hook. Would there be other issues besides performance? If the snapshot is taken only when there is a hook present then the performance can be fixed later. Regards, Ants Aasma