aboutsummaryrefslogtreecommitdiffstats
path: root/ext/syslog
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-07 16:36:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-07 16:36:16 +0000
commit13d241489a77634a83de04ec90b9bd5983a0493f (patch)
tree2bad996a354cd12f950f211a953bc1473dbe7809 /ext/syslog
parent72ce1a4759b853b02eab31786acbb69ba80b4fd8 (diff)
downloadruby-13d241489a77634a83de04ec90b9bd5983a0493f.tar.gz
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
Diffstat (limited to 'ext/syslog')
0 files changed, 0 insertions, 0 deletions