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
Accelerator
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 }}
banister
/
method_source
Public
Notifications
You must be signed in to change notification settings
Fork
44
Star
380
Code
Issues
20
Pull requests
11
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Make
extract_last_comment
65x faster
- #77
#77
Closed
symwell
wants to merge 7 commits into
banister:master
banister/method_source:master
from
symwell:sw/faster_comment
symwell/method_source:sw/faster_comment
Copy head branch name to clipboard
Conversation
Commits
7
(7)
Checks
Files changed
Closed
Make
extract_last_comment
65x faster
#77
symwell
wants to merge 7 commits into
banister:master
banister/method_source:master
from
symwell:sw/faster_comment
symwell/method_source:sw/faster_comment
Copy head branch name to clipboard
Commits
Commits on Aug 31, 2022
optimize extract_last_comment to try and get the comment based on the last few lines of the file instead of go over all of them
symwell
committed
878d4f0
View commit details
Copy full SHA for 878d4f0
Browse repository at this point
don't run twice regex that matches comment
symwell
committed
0c357c0
View commit details
Copy full SHA for 0c357c0
Browse repository at this point
fix a couple of things that broke with Ruby 2.7.2p137
symwell
committed
b58c1ab
View commit details
Copy full SHA for b58c1ab
Browse repository at this point
Add global variable @@EXTRACT_LAST_COMMENT_THRESHOLD
symwell
committed
1fbfb99
View commit details
Copy full SHA for 1fbfb99
Browse repository at this point
Commits on Sep 1, 2022
extract_last_comment parses comments backwards
symwell
committed
dd0d6d1
View commit details
Copy full SHA for dd0d6d1
Browse repository at this point
rm @@EXTRACT_LAST_COMMENT_THRESHOLD
symwell
committed
ae4f194
View commit details
Copy full SHA for ae4f194
Browse repository at this point
reverse_each
symwell
committed
b3bd0bc
View commit details
Copy full SHA for b3bd0bc
Browse repository at this point
You can’t perform that action at this time.