develooper Front page | perl.perl6.language | Postings from July 2006

Re: optimizing with === immutable comparitor

Thread Previous | Thread Next
From:
Yuval Kogman
Date:
July 14, 2006 06:04
Subject:
Re: optimizing with === immutable comparitor
Message ID:
20060714130258.GT19536@woobling.org
On Fri, Jul 14, 2006 at 00:30:20 -0700, Darren Duncan wrote:
> This may go without saying, but ...

...

This is a VM issue. It clarifies semantics, and the runtime VM may
choose to do this freely for simple values (but not for objects
which just pretend using .id).

In short: yes, the semantics allow that, but it has nothing to do
with the language it might not even be faster.

-- 
  Yuval Kogman <nothingmuch@woobling.org>
http://nothingmuch.woobling.org  0xEBD27418


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About