It is not safe, since it relies on spaces to delimit arguments, which labels may contain:

    "foo"=" bar"

Will hash to the same as:

    "foo "="bar"

Granted, this is not very likely (and we should probably disallow spaces in label names in the future), but I wouldn't rely on it.