ruby/ext/thread
nobu 13d241489a thread.c: no function callsin RARRAY_LEN
* ext/thread/thread.c (queue_length, queue_num_waiting): avoid
  function calls in RARRAY_LEN macro which evaluates the argument
  multiple times.

* ext/thread/thread.c (rb_szqueue_num_waiting): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-07 16:36:16 +00:00
..
extconf.rb
thread.c thread.c: no function callsin RARRAY_LEN 2014-11-07 16:36:16 +00:00