On Monday, Jun 16, 2003, at 21:52 US/Pacific, Matt Liotta wrote:
Using a UUID would be overkill to represent individual nodes in a taxonomy and would likely result in poor performance for any complex taxonomy.

Well, Scott's hierarchy wasn't complex so I'm sure that won't be an issue...


I have found the easiest way to uniquely identify taxonomy nodes is with a hash that is the concatenation of the node's parent with that of the node's sequence.

...but you still have a potential collision issue here. You're adding a lot of complexity and potential for error to an otherwise very simple problem.


I totally agree with you that in the complex case, you may well need a more performant solution that UUID and the trade off of the extra code involved may well be worth it. But in the case at hand, I think your solution is overkill.

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to