Method: NoSE::Cost::Cost#sort_cost

Defined in:
lib/nose/cost.rb

#sort_cost(_step) ⇒ Fixnum

The cost of sorting a set of results

Returns:

  • (Fixnum)


32
33
34
35
36
37
# File 'lib/nose/cost.rb', line 32

def sort_cost(_step)
  # TODO: Find some estimate of sort cost
  #       This could be partially captured by the fact that sort + limit
  #       effectively removes the limit
  1
end