[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: 31395511: "Don’t attempt to modify constant strings"

From: Drew Adams
Subject: FW: 31395511: "Don’t attempt to modify constant strings"
Date: Fri, 5 Jun 2020 18:34:50 -0700 (PDT)

(Guess I forgot to use Reply All.  Re-sending.)

> > [bug#40671] is about modifying literal objects and this
> > particular strangeness seems bigger than that.
> Later it goes deeper than that.
> > But that's a far cry from having two different manifestations
> > of `equal` such objects _be_  the same object, but only for
> > compiled code.
> That looks suboptimal to me too.  I mean, it sounds like a sound
> optimization (to an extent), but I really wonder if it really buys us
> much in practice. And we're paying the price of not exactly obvious
> behavior.

Exactly the question - is it worth anything?  Is it
worth the cost of unclear and less useful behavior?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]