Audit rework
Reported by bahuvrihi | December 8th, 2008 @ 12:25 PM
Audits are ok, but could be made simpler by implementing them as a linked list.
Audit[source, value, previous]
AuditIterate[index] < Audit
AuditIterate tracks when a particular value in a collection is passed on (guess it could be a key or an index for hash and array respectively).
Previous can be an array of audits, indicating a merge.
Creating an audit trail simply means recursively traversing back through the previous audits. Source/value trails are simply collections of the source/values for the audit trail.
Forking is more lightweight this way; you can have many audits with the same previous audit for no extra memory.
Comments and changes to this ticket
-
bahuvrihi December 26th, 2008 @ 10:21 AM
- State changed from new to resolved
- Assigned user set to bahuvrihi
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A framework for making configurable, file-based tasks and workflows.