[#3479] Missing .document files for ext/ libraries — Brian Candler <B.Candler@...>

The ri documentation for zlib, strscan and iconv doesn't get built by 'make

12 messages 2004/10/06

[#3492] Re: ANN: Free-form-operators patch — Markus <markus@...>

> In message "Re: ANN: Free-form-operators patch"

15 messages 2004/10/11
[#3493] Re: ANN: Free-form-operators patch — Yukihiro Matsumoto <matz@...> 2004/10/11

Hi,

[#3495] Re: ANN: Free-form-operators patch — Markus <markus@...> 2004/10/12

On Mon, 2004-10-11 at 16:16, Yukihiro Matsumoto wrote:

[#3561] 1.8.2 - what can we do to help? — Dave Thomas <dave@...>

Folks:

23 messages 2004/10/26
[#3562] Re: 1.8.2 - what can we do to help? — Yukihiro Matsumoto <matz@...> 2004/10/27

Hi,

Re: range.c

From: Yukihiro Matsumoto <matz@...>
Date: 2004-10-31 15:22:27 UTC
List: ruby-core #3664
Hi,

In message "Re: range.c"
    on Sun, 31 Oct 2004 01:43:33 +0900, "trans.  (T. Onoma)" <transami@runbox.com> writes:

|range_hash(range)
|    VALUE range;
|{
|    long hash = EXCL(range);
|    VALUE v;
|
|    v = rb_hash(rb_ivar_get(range, id_beg));
|    hash ^= v << 1;
|    v = rb_hash(rb_ivar_get(range, id_end));
|    hash ^= v << 9;
|    hash ^= EXCL(range) << 24;
|    hash ^= EXCLB(range) << 25;   /* 25? what number? */
|
|    return LONG2FIX(hash);
|}

Hmm, I don't know why EXCL() is summed up twice.  How about

  hash = EXCL(range);
  hash |= EXCLB(range) << 1
  v = rb_hash(rb_ivar_get(range, id_beg));
  hash |= v << 2
  v = rb_hash(rb_ivar_get(range, id_end));
  hash ^= v << 10;

?

|Also, I am using 1.8.2pre2 code, should I be using 1.9?

Use 1.9 for major behavior change.

I don't think of no pragmatic usage of exclude_start except for
theoretical symmetry, so that it is relatively hard to persuade me to
merge it.  But that's another story.

							matz.

In This Thread