Jonathan M Davis:
(since D1 made the mistake of having opEquals return int),
I think it wasn't a mistake, more like a design choice. In some
cases (especially when there is no inlining) computing and
returning an int is more efficient than converting to bool.
In practice I think the increa
On Monday, 14 May 2012 at 02:35:11 UTC, Jonathan M Davis wrote:
On Monday, May 14, 2012 02:53:20 Alex Rønne Petersen wrote:
Hi,
Would anyone be terribly angry if equals_t was deprecated and
later
removed? I sent a patch a while back to add a compare_t type
for
consistency, but the consensus e
On Mon, May 14, 2012 at 02:53:20AM +0200, Alex Rønne Petersen wrote:
> Hi,
>
> Would anyone be terribly angry if equals_t was deprecated and later
> removed? I sent a patch a while back to add a compare_t type for
> consistency, but the consensus ended up being that it'd be better to
> get rid of
On Monday, 14 May 2012 at 02:35:11 UTC, Jonathan M Davis wrote:
equals_t is not mentioned in TDPL (rather, TDPL specifically
lists opEquals as returning bool), and I see _zero_ value in
having bool at this point. As I understand it, it was created
purely for transitional purposes (since D1 made
On Monday, May 14, 2012 02:53:20 Alex Rønne Petersen wrote:
> Hi,
>
> Would anyone be terribly angry if equals_t was deprecated and later
> removed? I sent a patch a while back to add a compare_t type for
> consistency, but the consensus ended up being that it'd be better to get
> rid of equals_t.
On 14-05-2012 02:56, Mehrdad wrote:
On Monday, 14 May 2012 at 00:53:20 UTC, Alex Rønne Petersen wrote:
Hi,
Would anyone be terribly angry if equals_t was deprecated and later
removed? I sent a patch a while back to add a compare_t type for
consistency, but the consensus ended up being that it'd
On Monday, 14 May 2012 at 00:53:20 UTC, Alex Rønne Petersen
wrote:
Hi,
Would anyone be terribly angry if equals_t was deprecated and
later removed? I sent a patch a while back to add a compare_t
type for consistency, but the consensus ended up being that
it'd be better to get rid of equals_t.