[#11073] segfault printing instruction sequence for iterator — <noreply@...>

Bugs item #10527, was opened at 2007-05-02 14:42

14 messages 2007/05/02
[#11142] Re: [ ruby-Bugs-10527 ] segfault printing instruction sequence for iterator — Nobuyoshi Nakada <nobu@...> 2007/05/10

Hi,

[#11188] Re: [ ruby-Bugs-10527 ] segfault printing instruction sequence for iterator — Paul Brannan <pbrannan@...> 2007/05/16

On Thu, May 10, 2007 at 04:51:18PM +0900, Nobuyoshi Nakada wrote:

[#11234] Planning to release 1.8.6 errata — Urabe Shyouhei <shyouhei@...>

Hi all.

17 messages 2007/05/25

Re: pattern for implementation-private constants?

From: Sam Roberts <sroberts@...>
Date: 2007-05-08 07:27:13 UTC
List: ruby-core #11112
Quoting david@davidflanagan.com, on Tue, May 08, 2007 at 01:21:56PM +0900:
> Somehow, just not documenting the constants leaves me unsatisfied, 
> though I admit that this is more of a theoretical than a practical matter.
> 
> Given that constants aren't actually required to be constant, anyway, 
> I'm tempted to use class variables for the private ones instead...  In 
> his response, murphy was kind enough to provide benchmarks showing the 
> performance hit I'd take if I did this.

I suspect that if constants could be private, it would introduce lookups
and checks that would give you similar performance hits. Fast and cheap,
or private, hard to get both at the same time?

Sam


In This Thread