[macruby-changes] [MacRuby/MacRuby] : Object#hash returns different value of Object#__id...

GitHub noreply at github.com
Tue Jan 10 06:02:23 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/MacRuby/MacRuby
  Commit: 028968092f9dae459732feeef58ec210f881fd3b
      https://github.com/MacRuby/MacRuby/commit/028968092f9dae459732feeef58ec210f881fd3b
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-01-10 (Tue, 10 Jan 2012)

  Changed paths:
    M class.c
  M object.c

  Log Message:
  -----------
  Object#hash returns different value of Object#__id__


  Commit: d4560fa213c868a889d44f4b5e7f3215a9b1348d
      https://github.com/MacRuby/MacRuby/commit/d4560fa213c868a889d44f4b5e7f3215a9b1348d
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-01-10 (Tue, 10 Jan 2012)

  Changed paths:
    M hash.c

  Log Message:
  -----------
  use murmur hash


  Commit: 18e269a0c64c0cdc410cfb3034e3e619d493b6b7
      https://github.com/MacRuby/MacRuby/commit/18e269a0c64c0cdc410cfb3034e3e619d493b6b7
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-01-10 (Tue, 10 Jan 2012)

  Changed paths:
    M random.c

  Log Message:
  -----------
  ignore higher bits if all they are same as the lower sign bit


  Commit: 80d1bc12708663ea70ff316b1762bdf126c04ccc
      https://github.com/MacRuby/MacRuby/commit/80d1bc12708663ea70ff316b1762bdf126c04ccc
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-01-10 (Tue, 10 Jan 2012)

  Changed paths:
    M random.c

  Log Message:
  -----------
  use the absolute value of seed to make srand(-2**40) portable with 32bit and 64bit


  Commit: 1351eacab386c92ae374c5b9762673128bbe1bd0
      https://github.com/MacRuby/MacRuby/commit/1351eacab386c92ae374c5b9762673128bbe1bd0
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-01-10 (Tue, 10 Jan 2012)

  Changed paths:
    M random.c

  Log Message:
  -----------
  fix leading-zero-guard condition on bdigit is smaller than 32bit


  Commit: 475e6cfd07c305645668c1a46e66b362ad07b49e
      https://github.com/MacRuby/MacRuby/commit/475e6cfd07c305645668c1a46e66b362ad07b49e
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-01-10 (Tue, 10 Jan 2012)

  Changed paths:
    M random.c

  Log Message:
  -----------
  Random#bytes should return binary string.


  Commit: 90a88631ef3da0c820adb7779dab27c723f8caba
      https://github.com/MacRuby/MacRuby/commit/90a88631ef3da0c820adb7779dab27c723f8caba
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-01-10 (Tue, 10 Jan 2012)

  Changed paths:
    M random.c

  Log Message:
  -----------
  raise ArgumentError on nil


  Commit: 3fb95bd7f6aae79d4aa65ddc946e8be71fc587eb
      https://github.com/MacRuby/MacRuby/commit/3fb95bd7f6aae79d4aa65ddc946e8be71fc587eb
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-01-10 (Tue, 10 Jan 2012)

  Changed paths:
    M random.c

  Log Message:
  -----------
  add initialization of rand for murmur hash


Compare: https://github.com/MacRuby/MacRuby/compare/b8080c7...3fb95bd


More information about the macruby-changes mailing list