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 }}
fastruby
fast-ruby
Repository navigation
Code
Issues
21
(21)
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
fast-ruby
code
string
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 29, 2026
Step 1: Add String#match? vs include? vs =~ for a fixed substring (#139)
Show description for 1f7d27e
JuanVqz
and
lvl0nax
committed
1f7d27e
View commit details
Copy full SHA for 1f7d27e
View code at this point
Browse repository at this point
Commits on Sep 24, 2026
Step 3: Name every report by rank and define methods in that order
Show description for 07b844c
JuanVqz
committed
07b844c
View commit details
Copy full SHA for 07b844c
View code at this point
Browse repository at this point
Step 1: Name every benchmark's winner in its method names
Show description for 68f71c5
JuanVqz
committed
68f71c5
View commit details
Copy full SHA for 68f71c5
View code at this point
Browse repository at this point
Step 2: Remove concatenation_randomized.rb, which never ran
Show description for 49efff6
JuanVqz
committed
49efff6
View commit details
Copy full SHA for 49efff6
View code at this point
Browse repository at this point
Commits on Sep 23, 2026
Step 2: Stop benchmarks crashing on Rubies that lack a feature
Show description for 2e65fd1
JuanVqz
committed
2e65fd1
View commit details
Copy full SHA for 2e65fd1
View code at this point
Browse repository at this point
Commits on Jun 17, 2023
compare gsub vs tr vs delete to remove character from string (#121)
mojavelinux
authored
1198345
View commit details
Copy full SHA for 1198345
View code at this point
Browse repository at this point
Randomized string concat (#216)
Show description for c12ede2
Aleksey Leshchuk
and
JuanVqz
authored
c12ede2
View commit details
Copy full SHA for c12ede2
View code at this point
Browse repository at this point
Commits on Sep 27, 2022
Merge pull request #164 from danarnold/master
Show description for 06c9a00
aisayo
authored
06c9a00
View commit details
Copy full SHA for 06c9a00
View code at this point
Browse repository at this point
Commits on Dec 9, 2020
Update benchmark with `String#casecmp?` example
Show description for b485926
NARKOZ
committed
b485926
View commit details
Copy full SHA for b485926
View code at this point
Browse repository at this point
Commits on Sep 6, 2018
add Regexp#match? and Regexp#match to benchmark
danarnold
committed
9ce5e97
View commit details
Copy full SHA for 9ce5e97
View code at this point
Browse repository at this point
Commits on Apr 3, 2018
Add `String#delete_prefix` and `delete_suffix` benchmarks
bdewater
committed
5ffe9ac
View commit details
Copy full SHA for 5ffe9ac
View code at this point
Browse repository at this point
Commits on Apr 2, 2018
Add comparison for unfreezing strings in `frozen_string_literal: true` commented files
bdewater
committed
99e47c3
View commit details
Copy full SHA for 99e47c3
View code at this point
Browse repository at this point
Commits on Apr 1, 2018
Add `String#match?` to `String#start_with?`/`String#end_with?` comparison
bdewater
committed
e951321
View commit details
Copy full SHA for e951321
View code at this point
Browse repository at this point
Add faster `String#match?` to `Regexp#===` vs `String#match` vs `String#=~` comparison
Show description for 9907db5
bdewater
committed
9907db5
View commit details
Copy full SHA for 9907db5
View code at this point
Browse repository at this point
Commits on Mar 17, 2018
Add String#unpack1 vs String#unpack[0]
bdewater
committed
a403654
View commit details
Copy full SHA for a403654
View code at this point
Browse repository at this point
Commits on Feb 11, 2018
Remove extra spaces (or other contiguous chars)
styd
committed
d99f251
View commit details
Copy full SHA for d99f251
View code at this point
Browse repository at this point
Commits on Oct 5, 2016
Fix typos in links to code
wojtodzio
authored and
JuanitoFatas
committed
2f528bd
View commit details
Copy full SHA for 2f528bd
View code at this point
Browse repository at this point
Commits on Jun 16, 2016
Use methods instead of hash.
Show description for 9cdf609
avellable
authored and
JuanitoFatas
committed
9cdf609
View commit details
Copy full SHA for 9cdf609
View code at this point
Browse repository at this point
Add example for immutable vs mutable strings
avellable
authored and
JuanitoFatas
committed
8d9e752
View commit details
Copy full SHA for 8d9e752
View code at this point
Browse repository at this point
Commits on Jun 15, 2016
Add String#start_with? vs String#[].==
Show description for f56798b
jonathanhefner
authored and
JuanitoFatas
committed
f56798b
View commit details
Copy full SHA for f56798b
View code at this point
Browse repository at this point
Commits on May 5, 2016
Merge pull request #108 from lvl0nax/string_concatenation
Show description for cec53a2
Arcovion
committed
cec53a2
View commit details
Copy full SHA for cec53a2
View code at this point
Browse repository at this point
added string interpolation
lvl0nax
committed
7d62492
View commit details
Copy full SHA for 7d62492
View code at this point
Browse repository at this point
Commits on Apr 30, 2016
added the fastest method to create a changed copy of a string.
lvl0nax
committed
9d6c54c
View commit details
Copy full SHA for 9d6c54c
View code at this point
Browse repository at this point
Commits on Dec 28, 2015
sub-vs-chomp must use \z instead of $
Show description for aff7aba
bquorning
committed
aff7aba
View commit details
Copy full SHA for aff7aba
View code at this point
Browse repository at this point
Commits on Nov 4, 2015
Add Regexp#=== to match and =~ comparison
Show description for 69c1ed1
JuanitoFatas
committed
69c1ed1
View commit details
Copy full SHA for 69c1ed1
View code at this point
Browse repository at this point
Merge pull request #47 from bquorning/sub-vs-chomp
Show description for d64e875
JuanitoFatas
committed
d64e875
View commit details
Copy full SHA for d64e875
View code at this point
Browse repository at this point
Commits on Aug 7, 2015
name file for end of string matching correctly
Aqualon
authored and
JuanitoFatas
committed
af59a1d
View commit details
Copy full SHA for af59a1d
View code at this point
Browse repository at this point
Commits on Aug 6, 2015
String#=~ faster than String#match
Show description for 076b96b
schneems
committed
076b96b
View commit details
Copy full SHA for 076b96b
View code at this point
Browse repository at this point
Commits on Jul 27, 2015
String#chomp can be faster than String#sub
bquorning
committed
20f3661
View commit details
Copy full SHA for 20f3661
View code at this point
Browse repository at this point
Commits on Jul 10, 2015
Add String#sub! vs String#gub! vs String#[]=
Show description for e97f913
sshaw
authored and
JuanitoFatas
committed
e97f913
View commit details
Copy full SHA for e97f913
View code at this point
Browse repository at this point
Commits on Oct 22, 2014
Lines up casecmp downcase example.
JuanitoFatas
committed
bace9cd
View commit details
Copy full SHA for bace9cd
View code at this point
Browse repository at this point
Fix test names
sshaw
committed
730c274
View commit details
Copy full SHA for 730c274
View code at this point
Browse repository at this point
Add casecmp vs downcase & ==
sshaw
committed
9d0415d
View commit details
Copy full SHA for 9d0415d
View code at this point
Browse repository at this point
Commits on Oct 20, 2014
lines up code snippet.
JuanitoFatas
committed
dffc05a
View commit details
Copy full SHA for dffc05a
View code at this point
Browse repository at this point
Commits on Oct 19, 2014
match vs (strat/end)_with?
Igor Kapkov
committed
02c9b2b
View commit details
Copy full SHA for 02c9b2b
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.