Title: ctypes: Speed up find_library() on Linux by 500% · Issue #55467 · python/cpython · GitHub
Open Graph Title: ctypes: Speed up find_library() on Linux by 500% · Issue #55467 · python/cpython
X Title: ctypes: Speed up find_library() on Linux by 500% · Issue #55467 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
X Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Opengraph URL: https://github.com/python/cpython
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ctypes: Speed up find_library() on Linux by 500%","articleBody":"BPO | [11258](https://bugs.python.org/issue11258)\n--- | :---\nNosy | @theller, @pitrou, @vapier, @jonashaag\nFiles | \u003cli>[faster-find-library1.diff](https://bugs.python.org/file20808/faster-find-library1.diff \"Uploaded as text/plain at 2011-02-20.16:03:57 by @jonashaag\"): does all filtering in Python (more I/O)\u003c/li>\u003cli>[faster-find-library2.diff](https://bugs.python.org/file20809/faster-find-library2.diff \"Uploaded as text/plain at 2011-02-20.16:04:57 by @jonashaag\"): Pre-filters ldconfig's output using grep (less I/O but requires grep)\u003c/li>\u003cli>[faster-find-library1-py3k.diff](https://bugs.python.org/file20810/faster-find-library1-py3k.diff \"Uploaded as text/plain at 2011-02-20.16:35:29 by @pitrou\")\u003c/li>\u003cli>[faster-find-library1-py3k-with-escaped-name.diff](https://bugs.python.org/file20874/faster-find-library1-py3k-with-escaped-name.diff \"Uploaded as text/plain at 2011-02-24.15:14:07 by @jonashaag\"): with re.escape(name) as suggested by Antoine Pitrou\u003c/li>\u003cli>[faster-find-library1-py3k-with-escaped-name-try2.diff](https://bugs.python.org/file20935/faster-find-library1-py3k-with-escaped-name-try2.diff \"Uploaded as text/plain at 2011-02-27.17:10:09 by @jonashaag\")\u003c/li>\n\n\u003csup>*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup>\n\n\u003cdetails>\u003csummary>Show more details\u003c/summary>\u003cp>\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2011-04-24.14:20:47.375>\ncreated_at = \u003cDate 2011-02-20.16:03:58.470>\nlabels = ['ctypes', 'performance']\ntitle = 'ctypes: Speed up find_library() on Linux by 500%'\nupdated_at = \u003cDate 2011-04-24.22:18:57.382>\nuser = 'https://github.com/jonashaag'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2011-04-24.22:18:57.382>\nactor = 'Arfrever'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2011-04-24.14:20:47.375>\ncloser = 'pitrou'\ncomponents = ['ctypes']\ncreation = \u003cDate 2011-02-20.16:03:58.470>\ncreator = 'jonash'\ndependencies = []\nfiles = ['20808', '20809', '20810', '20874', '20935']\nhgrepos = []\nissue_num = 11258\nkeywords = ['patch']\nmessage_count = 17.0\nmessages = ['128910', '128911', '128912', '128913', '129313', '129315', '129512', '129514', '129627', '129630', '129638', '134025', '134309', '134310', '134352', '134354', '134355']\nnosy_count = 6.0\nnosy_names = ['theller', 'pitrou', 'vapier', 'Arfrever', 'jonash', 'python-dev']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'performance'\nurl = 'https://bugs.python.org/issue11258'\nversions = ['Python 3.3']\n```\n\n\u003c/p>\u003c/details>\n","author":{"url":null,"@type":"Person","name":"jonashaag"},"datePublished":"2011-02-20T16:03:58Z","url":"https://github.com/python/cpython/issues/55467"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:a87f45e9-639e-9f59-f39b-823169170d4c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF64:2463C6:D7FB48:12153DF:6B005529 |
| html-safe-nonce | 752d36b68d1013e03e6812242528bdde686af3f595840914e9512a4d87b64e00 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjY0OjI0NjNDNjpEN0ZCNDg6MTIxNTNERjo2QjAwNTUyOSIsInZpc2l0b3JfaWQiOiIxNTI0NTYyMDUzMzg0MzI4MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b622325fab79e73bad917ec38b4c80191beb64871a2d29a36f2868cd12f5e217 |
| hovercard-subject-tag | repository:81598961 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/issues/55467 |
| twitter:image | https://opengraph.githubassets.com/e0ec3f550eabf5d60b805ea4cee1a91f1a36868872ed0295a650a507b09b14b5/python/cpython |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e0ec3f550eabf5d60b805ea4cee1a91f1a36868872ed0295a650a507b09b14b5/python/cpython |
| og:image:alt | The Python programming language. Contribute to python/cpython development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width