Don't allocate arrays in Requirement#hash

This commit is contained in:
Jack Nagel 2014-11-12 17:33:07 -06:00
parent e66e302c14
commit 33dfc8e8b8

View File

@ -80,7 +80,7 @@ class Requirement
end end
def hash def hash
[name, *tags].hash name.hash ^ tags.hash
end end
def inspect def inspect