[tpm] OID sorting

Henry Baragar Henry.Baragar at instantiated.ca
Fri May 1 11:46:18 PDT 2009


There were a couple of suggestions for Fulko about how to improve his sorting 
of OID's (strings of the form ^\d+([.]\d+)*$).  Attached is my suggestion for 
rebuilding the tree and walking the tree.  I would be curious to see how this 
solution compares to the other solutions, both in terms of readability and 



Henry Baragar
Instantiated Software
416-907-8454 x42
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20090501/4e932418/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oid_sort
Type: application/x-perl
Size: 1259 bytes
Desc: not available
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20090501/4e932418/attachment.bin>

More information about the toronto-pm mailing list