divmod-users team mailing list archive
-
divmod-users team
-
Mailing list archive
-
Message #00011
Re: Axiom change logging
On Mon, Nov 5, 2012 at 1:39 PM, Tristan Seligmann
<mithrandi@xxxxxxxxxxxxx>wrote:
> On Mon, Nov 5, 2012 at 1:58 PM, Laurens Van Houtven <_@xxxxxx> wrote:
>
I guess if you're modifying items entirely outside of a transaction,
> then each change will be wrapped in its own transaction, but this has
> unfortunate consequences for performance and integrity.
>
Aha, understood. Well, as mentioned earlier the transaction-based API is
probably nicer for all cases where I want changes logged, anyway.
Do you happen to know of any easy shortcuts that would mean I don't have to
keep all of the old state around in a dictionary and then compare it with
the new state post transaction? A quick review of the code doesn't show any
obvious places to do so.
> --
> mithrandi, i Ainil en-Balandor, a faer Ambar
>
--
cheers
lvh
Follow ups
References