
Table#columns should be a SortedSet
Reported by Sam Smoot | October 6th, 2007 @ 10:59 AM
Columns must be unique in a Table. To ensure the order of your property declarations determine the column ordinals, they must also be sorted. So instead of an Array, we need to overwrite Column#hash and Column#eql? and use a SortedSet instead.
Comments and changes to this ticket
-
Sam Smoot October 25th, 2007 @ 11:31 PM
- Milestone cleared.
-
Sam Smoot October 26th, 2007 @ 12:25 AM
- State changed from open to resolved
Specced and done in -r376.
Helped simplify the code a bit but removing some unnecessary cruft.
Sped up overall performance ever so slightly.
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 »
People watching this ticket
- Nobody is watching this ticket.
Tags
Referenced by
-
825 NameError Exception with dm-core (extlib) 0.9.11 and ActiveSuport file lib/extlib/datetime.rb #12 and lib/extlib/time.rb #12
-
825 NameError Exception with dm-core (extlib) 0.9.11 and ActiveSuport file lib/extlib/datetime.rb #12 and lib/extlib/time.rb #12