Jos Visser <[EMAIL PROTECTED]> wrote:

> I would therefore vote that we keep these opcodes as verbose as
> possible. So no eq/eql/equal, but rather
> same_address/same_content/compare/compare_as_num/compare_as_string.

Or as verbose as needed [1]:

ident, eq, <op>, <op>_num, <op>_string for <op> in (lt le gt ge)

eq and ne are a bit special - yes they do vtable->is_equal now, but that
might be wrong when either numerically or string-compare is intended.

<op> and (<op>_num, <op>_string) seem to be suitable for languages that
don't have different compare ops and those like perl that have
respectively.

> ++Jos.es

leo

[1] eq, ne, lt, le, gt, ge are already widely used

Reply via email to