Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routing::Mapper: Use Thread.each_caller_location if available #50057

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

casperisfine
Copy link
Contributor

Saves a lot of allocations. It's development only though.

@rails-bot rails-bot bot added the actionpack label Nov 14, 2023
@casperisfine casperisfine changed the title Routing::Mapper: Use Thread.each_caller_location is available Routing::Mapper: Use Thread.each_caller_location if available Nov 14, 2023
@casperisfine casperisfine force-pushed the route-source-location-thread-each-caller branch 2 times, most recently from 66b484e to 792bfa3 Compare November 16, 2023 07:50
@rails-bot rails-bot bot added the railties label Nov 16, 2023
Saves a lot of allocations. It's development only though.
@casperisfine casperisfine force-pushed the route-source-location-thread-each-caller branch from 792bfa3 to b8d0f39 Compare November 16, 2023 08:08
@byroot byroot merged commit 73c090f into rails:main Nov 16, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants