#175 ✓invalid
bahuvrihi

Revisit aggregate join logic

Reported by bahuvrihi | February 21st, 2009 @ 11:14 PM

Not efficient or useful for any other purpose.


      
      #--
      # TODO -- consider is there a better way to optimize this?
      # currently this method is only used by an aggregate join
      def has?(entry) # :nodoc:
        synchronize do
          entry_id = entry.object_id
          
          @rounds.each do |round|
            round.each do |enqued_entry|
              return true if entry_id == enqued_entry.object_id
            end
          end
          false
        end
      end

Comments and changes to this ticket

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.

New-ticket Create new ticket

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.

People watching this ticket

Pages