On Tuesday 2014-12-23 13:59 -0800, Martin Thomson wrote:
> Why are you surprised that when you pass a pointer to a function that the
> function gets a pointer?

You're putting words in my mouth.

> I agree that the performance is less than perfect. I do have to ask: at
> what point do you consider the preservation of developer time more valuable
> than the preservation of CPU time?

I think that's a poor description of the problem.

Some developers spend time working on performance problems, and
hiding those performance problems is not good for their time.

Developers should be able to reason about the performance
characteristics of code that they're looking at.  Many
reference-counting operations are expensive.  Many developers
spend time structuring their code to avoid them.  I'm just asking
that when they try to do this, they get what they expect.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Attachment: signature.asc
Description: Digital signature

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to