On Jun 26, 2006, at 10:16 PM, gwtmp01 / mac.com wrote: > > On Jun 26, 2006, at 9:57 PM, Austin Ziegler wrote: >> I'm referring to s[byte: 0]. It's elegant. > > It seems a bit weighty. It requires the allocation of a Hash > simply to index a byte vector. > > s.byte(0) > > seems just as readable without the overhead. > > Gary Wright > **Must defend random syntax that I invented ;-)** It only has to allocate a hash depending on the named argument interface e.g. # not real ruby syntax, affaik def [](char_index = nil, byte: nil) ... end > > >