Issue #5830 has been reported by Brian Ford.

----------------------------------------
Bug #5830: "".byteslice(0) != "".byteslice(0, 0)
https://bugs.ruby-lang.org/issues/5830

Author: Brian Ford
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]


Is this a bug?

See https://github.com/ruby/ruby/blob/069f7ec90a6ef/string.c#L4091 vs https://github.com/ruby/ruby/blob/069f7ec90a6ef/string.c#L4035-4036

Thanks,
Brian


-- 
http://redmine.ruby-lang.org