# File multiset.rb, line 571
  def subtract(other)
    ret = self.dup
    other.each_pair do |item, count|
      ret.delete(item, count)
    end
    ret
  end