[dylan-lang/opendylan] 4783e0: [dylan] Remove a function call from dispatch code.

GitHub <[email protected]>
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <555aa057d125c_45453f9d1a9f12c0108099@hookshot-fe5-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: 4783e0a3a3baeaa2a2802abdbe6f896ebb15c701
      https://github.com/dylan-lang/opendylan/commit/4783e0a3a3baeaa2a2802abdbe6f896ebb15c701
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
    M sources/dfmc/modeling/namespaces.dylan
    M sources/dylan/new-dispatch.dylan

  Log Message:
  -----------
  [dylan] Remove a function call from dispatch code.

This changes a function returning a vector into just
the constant value for that vector. This avoids a method
call in a critical code path.

* sources/dfmc/modeling/namespaces.dylan
  (module dispatch-engine): %second-hash-values is
    no longer exported.

* sources/dylan/new-dispatch.dylan
  (%second-hash-values): Convert to a constant instead,
    $second-hash-values.
  (%hckd-hash-step): Use the new constant instead of the
    function call.


  Commit: 4657fa3f621733cb9204ee688c4e952b829fa129
      https://github.com/dylan-lang/opendylan/commit/4657fa3f621733cb9204ee688c4e952b829fa129
  Author: Peter S. Housel <[email protected]>
  Date:   2015-05-18 (Mon, 18 May 2015)

  Changed paths:
    M sources/dfmc/modeling/namespaces.dylan
    M sources/dylan/new-dispatch.dylan

  Log Message:
  -----------
  Merge pull request #906 from waywardmonkeys/minor-dispatch-improvement

[dylan] Remove a function call from dispatch code.


Compare: https://github.com/dylan-lang/opendylan/compare/3cb096293290...4657fa3f6217

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.