Object graph traversed too many times
-------------------------------------
Key: BVAL-15
URL:
http://opensource.atlassian.com/projects/hibernate/browse/BVAL-15
Project: Bean Validation
Issue Type: Bug
Components: ri-general
Reporter: Emmanuel Bernard
Assignee: Hardy Ferentschik
You seem to traverse the object graph once per group.
I made the spec so that multiple traversals were not necessary unless you physically force
group sequence.
Actually the prototype I gave you was doing some clever things to minimize the number of
AFAIR I made the spec so that this multiple traversals are not needed unless you
physically sequenciate them. In a prototype I had, I actually worked on an algorithm to
validate as much groups as possible in a same traversal. Unfortunately I lost it, probably
in my hardware crash :(
The idea was to compute a tree of groups to validate with their respective sequential
constraints and run as less cycle as possible at a given time
e=|- a - b (b seq after a)
f=|- c - d (d seq after c)
validating e, f would run a and c in // in the same cycle and b and d in the second
cycle.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira