Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
psheehan
/
pinball-rt
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
3
Code
Issues
0
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
A handful of efficiency optimizations
- #19
#19
Merged
psheehan
merged 8 commits into
main
psheehan/pinball-rt:main
from
efficiency_optimizations
psheehan/pinball-rt:efficiency_optimizations
Copy head branch name to clipboard
Jun 21, 2026
Conversation
Commits
8
(8)
Checks
Files changed
Merged
A handful of efficiency optimizations
#19
psheehan
merged 8 commits into
main
psheehan/pinball-rt:main
from
efficiency_optimizations
psheehan/pinball-rt:efficiency_optimizations
Copy head branch name to clipboard
Commits
Commits on Jun 18, 2026
torch.no_grad for evaluating ML models as it speeds up calculations.
psheehan
committed
b2d3cf1
View commit details
Copy full SHA for b2d3cf1
Browse repository at this point
Put source photon/ray emission into torch tensors on the appropriate device so they get an appropriate speedup on execution.
psheehan
committed
53c1dab
View commit details
Copy full SHA for 53c1dab
Browse repository at this point
Remove double calculation of photon opacities; doesn't provide a huge speedup, but still unnecessary.
psheehan
committed
d51df5b
View commit details
Copy full SHA for d51df5b
Browse repository at this point
Commits on Jun 19, 2026
Ensure that the emit_rays function uses random numbers sampled with the proper dtype to prevent downstream failures.
psheehan
committed
bb030d5
View commit details
Copy full SHA for bb030d5
Browse repository at this point
On GPUs, emitting photons from source requires that the frequency be brought back to the CPU for calculating the intensity.
psheehan
committed
6e950f1
View commit details
Copy full SHA for 6e950f1
Browse repository at this point
Only update photon opacities if frequency changes or if cell dust properties change; also don't update opacities after frequency change AND after cell properties change - only do once.
psheehan
committed
855dddd
View commit details
Copy full SHA for 855dddd
Browse repository at this point
Enable/disable showing the progress bar.
psheehan
committed
9ee7668
View commit details
Copy full SHA for 9ee7668
Browse repository at this point
Commits on Jun 20, 2026
Make sure direction and direction frame access different memory now that they are coming from torch. Also remove spurious exp that somehow ended up in the direction.
psheehan
committed
13024c9
View commit details
Copy full SHA for 13024c9
Browse repository at this point
You can’t perform that action at this time.