leehambley (Lee Hambley)
- Login: leehambley
- Registered on: 05/18/2009
- Last sign in: 01/20/2021
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 0 | 1 |
Activity
01/21/2021
-
05:23 PM Ruby Misc #17565: Prefer use of access(2) in rb_file_load_ok() to check for existence of require'd files
- > Which system was this measured on? Is this only a Docker thing?
Yes, recent macbook pros, couple of different configurations, all with SSDs; Docker with grpcfuse, the new driver they use for macOS and Windows sync to the "invisible" V...
01/20/2021
-
08:12 PM Ruby Misc #17565: Prefer use of access(2) in rb_file_load_ok() to check for existence of require'd files
- There is also `eaccess` conditionally defined depending on the platform, which does a suite more tests, probably that should be considered in preference to `access` directly, those checks are probably important in some environments.
-
08:05 PM Ruby Misc #17565 (Open): Prefer use of access(2) in rb_file_load_ok() to check for existence of require'd files
- When using Ruby in Docker (2.5 in our case, but the code is unchanged in 15 years across all versions) with a large $LOAD_PATH some millions of calls are made to `open(2)` with a mean cost of 130µsec per call, where a call to `access(2)`...