| 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 | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:56adc60d-f6d8-0f6a-ca3b-114f190c3f26 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A26A:5F67C:4AF9B:632F1:6B043265 |
| html-safe-nonce | 2c54e95b37d49f5b1ab51b427b42c482a75136b906606f92606c7f49c85d15f4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjZBOjVGNjdDOjRBRjlCOjYzMkYxOjZCMDQzMjY1IiwidmlzaXRvcl9pZCI6IjU2MDE2ODM3OTQ0OTYzMzY0ODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fc257d965cfa897cb6e7fa226f52b77321f1a9c35b010a6b5780a6c14a409b67 |
| hovercard-subject-tag | pull_request:3415422596 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-ruby/2903/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/bdee86d7bc8883c45bd698ea37347cec8f0377d78522d446f5d52240c742b839/getsentry/sentry-ruby/pull/2903 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bdee86d7bc8883c45bd698ea37347cec8f0377d78522d446f5d52240c742b839/getsentry/sentry-ruby/pull/2903 |
| og:image:alt | ✅ Low risk — internal refactor of LineCache
Part of #2901 (reduce memory allocations by ~53%)
Changes
Use Hash#fetch instead of ||= to avoid double hash lookup in getlines
Remove valid_path?/getli... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | HazAT |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-cache |
| go-import | github.com/getsentry/sentry-ruby git https://github.com/getsentry/sentry-ruby.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3947396 |
| octolytics-dimension-repository_nwo | getsentry/sentry-ruby |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3947396 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-ruby |
| 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 | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/getsentry/sentry-ruby/pull/2903#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-ruby%2Fpull%2F2903 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-ruby%2Fpull%2F2903 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-ruby |
| Reload | https://github.com/getsentry/sentry-ruby/pull/2903 |
| Reload | https://github.com/getsentry/sentry-ruby/pull/2903 |
| Reload | https://github.com/getsentry/sentry-ruby/pull/2903 |
| getsentry | https://github.com/getsentry |
| sentry-ruby | https://github.com/getsentry/sentry-ruby |
| Code | https://github.com/getsentry/sentry-ruby |
| Issues73 (73) | https://github.com/getsentry/sentry-ruby/issues |
| Pull requests32 (32) | https://github.com/getsentry/sentry-ruby/pulls |
| Actions | https://github.com/getsentry/sentry-ruby/actions |
| Security and quality | https://github.com/getsentry/sentry-ruby/security |
| Insights | https://github.com/getsentry/sentry-ruby/insights |
| https://github.com/getsentry/sentry-ruby |
| sl0thentr0py | https://github.com/sl0thentr0py |
| master | https://github.com/getsentry/sentry-ruby/tree/master |
| perf/linecache-optimization | https://github.com/getsentry/sentry-ruby/tree/perf/linecache-optimization |
| Conversation | https://github.com/getsentry/sentry-ruby/pull/2903 |
| Commits1 (1) | https://github.com/getsentry/sentry-ruby/pull/2903/commits |
| Checks | https://github.com/getsentry/sentry-ruby/pull/2903/checks |
| Files changed | https://github.com/getsentry/sentry-ruby/pull/2903/files |
| perf: optimize LineCache to reduce allocations | https://github.com/getsentry/sentry-ruby/pull/2903#top |
| sl0thentr0py | https://github.com/sl0thentr0py |
| master | https://github.com/getsentry/sentry-ruby/tree/master |
| perf/linecache-optimization | https://github.com/getsentry/sentry-ruby/tree/perf/linecache-optimization |
|
| https://github.com/HazAT |
| HazAT | https://github.com/HazAT |
| Mar 18, 2026 | https://github.com/getsentry/sentry-ruby/pull/2903#issue-4095810425 |
| #2901 | https://github.com/getsentry/sentry-ruby/pull/2901 |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/2903 |
| https://github.com/HazAT |
| HazAT | https://github.com/HazAT |
|
Mar 18, 2026
| https://github.com/getsentry/sentry-ruby/pull/2903#ref-pullrequest-4095804230 |
|
perf: Reduce memory allocations by ~53% during exception capture
#2901
| https://github.com/getsentry/sentry-ruby/pull/2901 |
| HazAT | https://github.com/HazAT |
|
Mar 18, 2026
| https://github.com/getsentry/sentry-ruby/pull/2903#ref-commit-b81088e |
|
| https://github.com/HazAT |
| perf: reduce memory allocations by ~53% during exception capture | https://github.com/getsentry/sentry-ruby/commit/b81088ed77d58341c41140885b662b8551655143 |
| b81088e | https://github.com/getsentry/sentry-ruby/commit/b81088ed77d58341c41140885b662b8551655143 |
| #2902 | https://github.com/getsentry/sentry-ruby/pull/2902 |
| #2903 | https://github.com/getsentry/sentry-ruby/pull/2903 |
| #2904 | https://github.com/getsentry/sentry-ruby/pull/2904 |
| #2905 | https://github.com/getsentry/sentry-ruby/pull/2905 |
| #2906 | https://github.com/getsentry/sentry-ruby/pull/2906 |
| #2907 | https://github.com/getsentry/sentry-ruby/pull/2907 |
| #2908 | https://github.com/getsentry/sentry-ruby/pull/2908 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Mar 18, 2026
| https://github.com/getsentry/sentry-ruby/pull/2903#pullrequestreview-3968657044 |
|
View reviewed changes
| https://github.com/getsentry/sentry-ruby/pull/2903/files |
| sentry-ruby/lib/sentry/linecache.rb | https://github.com/getsentry/sentry-ruby/pull/2903/files#diff-893acc61a71a225dcb3f660787dca4f9fa82f4e5c769dc76ae5111a32aa167d3 |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/2903 |
| https://github.com/sl0thentr0py |
| sl0thentr0py | https://github.com/sl0thentr0py |
| force-pushed | https://github.com/getsentry/sentry-ruby/compare/7ce022ecc789c706b6137149ed3f22b9ad65124b..542ee2198f513911fae0f5329f22fd6631aa0ac2 |
| 7ce022e | https://github.com/getsentry/sentry-ruby/commit/7ce022ecc789c706b6137149ed3f22b9ad65124b |
| 542ee21 | https://github.com/getsentry/sentry-ruby/commit/542ee2198f513911fae0f5329f22fd6631aa0ac2 |
|
Compare
| https://github.com/getsentry/sentry-ruby/compare/7ce022ecc789c706b6137149ed3f22b9ad65124b..542ee2198f513911fae0f5329f22fd6631aa0ac2 |
| March 19, 2026 16:28 | https://github.com/getsentry/sentry-ruby/pull/2903#event-23724287392 |
| https://github.com/apps/sentry |
| sentry | https://github.com/apps/sentry |
|
Mar 19, 2026
| https://github.com/getsentry/sentry-ruby/pull/2903#pullrequestreview-3976413643 |
|
View reviewed changes
| https://github.com/getsentry/sentry-ruby/pull/2903/files |
| sentry-ruby/lib/sentry/linecache.rb | https://github.com/getsentry/sentry-ruby/pull/2903/files#diff-893acc61a71a225dcb3f660787dca4f9fa82f4e5c769dc76ae5111a32aa167d3 |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/2903 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Mar 19, 2026
| https://github.com/getsentry/sentry-ruby/pull/2903#pullrequestreview-3976438086 |
|
View reviewed changes
| https://github.com/getsentry/sentry-ruby/pull/2903/files |
| cursor | https://github.com/apps/cursor |
| https://github.com/getsentry/sentry-ruby/pull/2903#pullrequestreview-3976438086 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTo4OGZmNTlkYS1hMWNmLTQ4OWQtYjk5ZS1mYWZjYWM2NjYxZWUiLCJlbmNyeXB0aW9uS2V5IjoiZDdZTkNNX3IwakJrLXZ5SThUNkw2QkJGT25iSGI3VTRwTHF3R1lHQWNlayIsImJyYW5jaCI6InBlcmYvbGluZWNhY2hlLW9wdGltaXphdGlvbiIsInJlcG9Pd25lciI6ImdldHNlbnRyeSIsInJlcG9OYW1lIjoic2VudHJ5LXJ1YnkifSwiaWF0IjoxNzczOTM4MDU1LCJleHAiOjE3NzY1MzAwNTV9.wk0L3w1qdF5Ra7uKpl79z6L9Fx33S-1lZy0GrgK3DKSS91eDstzKVdi1QIzbOe61gb5M6RID2n_s7IgHsxsK3hmZo8wehmWH6jDOd24Pk5eV9fgdHP9_lSz_EQkHaJ-jJ62kUOjP_KafaY_hMPUjgco-wQxGPfG35lNRXt3aETyr7_2QRlMxf2hUwuXEkTq6hvhizi4sOlEz-ZXH1UGZ0I053cDKNP3qOArBDnoYTolPwgCu_CYP6zPUpFu_YWFgt97b9w2OdkbajyXK-TPHJLge95h7pM9ScIs-LWHKc_8v0WniwSMSyIwOM-gWRYbXbbK82YiebbAYEO9KozGc8w |
| Cursor dashboard | https://www.cursor.com/dashboard?tab=bugbot |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/2903 |
| sentry-ruby/lib/sentry/linecache.rb | https://github.com/getsentry/sentry-ruby/pull/2903/files#diff-893acc61a71a225dcb3f660787dca4f9fa82f4e5c769dc76ae5111a32aa167d3 |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/2903 |
| https://github.com/sl0thentr0py |
| sl0thentr0py | https://github.com/sl0thentr0py |
| Mar 19, 2026 | https://github.com/getsentry/sentry-ruby/pull/2903#issuecomment-4091690629 |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/2903 |
|
| https://github.com/HazAT |
|
| https://github.com/sl0thentr0py |
| perf: optimize LineCache to reduce allocations | https://github.com/getsentry/sentry-ruby/pull/2903/commits/5eb86fbeaee95c014633ce733de54b6aa3f85127 |
| 5eb86fb | https://github.com/getsentry/sentry-ruby/pull/2903/commits/5eb86fbeaee95c014633ce733de54b6aa3f85127 |
| https://github.com/sl0thentr0py |
| sl0thentr0py | https://github.com/sl0thentr0py |
| force-pushed | https://github.com/getsentry/sentry-ruby/compare/542ee2198f513911fae0f5329f22fd6631aa0ac2..5eb86fbeaee95c014633ce733de54b6aa3f85127 |
| 542ee21 | https://github.com/getsentry/sentry-ruby/commit/542ee2198f513911fae0f5329f22fd6631aa0ac2 |
| 5eb86fb | https://github.com/getsentry/sentry-ruby/commit/5eb86fbeaee95c014633ce733de54b6aa3f85127 |
|
Compare
| https://github.com/getsentry/sentry-ruby/compare/542ee2198f513911fae0f5329f22fd6631aa0ac2..5eb86fbeaee95c014633ce733de54b6aa3f85127 |
| March 19, 2026 16:59 | https://github.com/getsentry/sentry-ruby/pull/2903#event-23725339378 |
| https://github.com/sl0thentr0py |
| sl0thentr0py | https://github.com/sl0thentr0py |
|
Mar 19, 2026
| https://github.com/getsentry/sentry-ruby/pull/2903#pullrequestreview-3976588953 |
|
View reviewed changes
| https://github.com/getsentry/sentry-ruby/pull/2903/files/5eb86fbeaee95c014633ce733de54b6aa3f85127 |
| https://github.com/sl0thentr0py |
| sl0thentr0py | https://github.com/sl0thentr0py |
| aaa5a9a | https://github.com/getsentry/sentry-ruby/commit/aaa5a9a6148bced1a217499d12a9df29c914eef6 |
| Mar 19, 2026 | https://github.com/getsentry/sentry-ruby/pull/2903#event-23725549129 |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/2903 |
| https://github.com/sl0thentr0py |
| sl0thentr0py | https://github.com/sl0thentr0py |
| March 19, 2026 17:06 | https://github.com/getsentry/sentry-ruby/pull/2903#event-23725550567 |
| https://github.com/apps/sentry-release-bot |
| sentry-release-bot | https://github.com/apps/sentry-release-bot |
|
Jun 1, 2026
| https://github.com/getsentry/sentry-ruby/pull/2903#ref-issue-4564475615 |
|
publish: getsentry/sentry-ruby@6.6.0
getsentry/publish#8352
| https://github.com/getsentry/publish/issues/8352 |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-ruby/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-ruby%2Fpull%2F2903 |
|
| https://github.com/apps/sentry |
|
sentry[bot]
| https://github.com/apps/sentry |
|
| https://github.com/getsentry/sentry-ruby/pull/2903/files/542ee2198f513911fae0f5329f22fd6631aa0ac2 |
|
| https://github.com/apps/cursor |
|
cursor[bot]
| https://github.com/apps/cursor |
|
| https://github.com/getsentry/sentry-ruby/pull/2903/files/542ee2198f513911fae0f5329f22fd6631aa0ac2 |
|
| https://github.com/sl0thentr0py |
|
sl0thentr0py
| https://github.com/sl0thentr0py |
|
| https://github.com/getsentry/sentry-ruby/pull/2903/files/5eb86fbeaee95c014633ce733de54b6aa3f85127 |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/2903 |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/2903 |
|
| https://github.com/HazAT |
|
| https://github.com/sl0thentr0py |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |