[#83107] Alias Enumerable#include? to Enumerable#includes? — Alberto Almagro <albertoalmagro@...>

Hello,

9 messages 2017/10/04

[ruby-core:83075] [Ruby trunk Feature#13963] [PATCH] file.c: release GVL around lstat(2)

From: normalperson@...
Date: 2017-10-01 22:06:57 UTC
List: ruby-core #83075
Issue #13963 has been reported by normalperson (Eric Wong).

----------------------------------------
Feature #13963: [PATCH] file.c: release GVL around lstat(2)
https://bugs.ruby-lang.org/issues/13963

* Author: normalperson (Eric Wong)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
Like stat(2), lstat(2) can be expensive on slow filesystems and
should not block other threads.  There should be a minor, but
not significant slowdowns in single-threaded performance similar
to benchmarks around the more-portable stat(2):
[ruby-core:83012] [Bug #13941]


Tested on both 64-bit and 32-bit x86; will commit in a few
days if no feedback; and there's still a few stat(2) calls
in other places which can be converted to release GVL...


---Files--------------------------------
0001-file.c-release-GVL-around-lstat-2.patch (3.2 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next