• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

whitequark / parser
97%
master: 36%

Build:
Build:
LAST BUILD BRANCH: fix-436
DEFAULT BRANCH: master
Repo Added 05 Apr 2013 03:23AM UTC
Files 3
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH use_str_literal_freeze
branch: use_str_literal_freeze
CHANGE BRANCH
x
Reset
  • use_str_literal_freeze
  • 2.0
  • 2.1
  • 2.2
  • 73-documentation
  • avoid_more_allocations
  • master
  • racc-1.4.13
  • ruby19
  • runtime-ruby18
  • update_travis_rbx_config
  • use_srcfile_encoding_in_lexer
  • v1.x
  • v2.1.0
  • v2.1.0.pre1
  • v2.1.0.pre2
  • v2.1.1
  • v2.1.2
  • v2.1.3
  • v2.1.4
  • v2.1.5
  • v2.1.6
  • v2.1.7
  • v2.1.8
  • v2.1.9
  • v2.2.0
  • v2.2.0.1
  • v2.2.0.2
  • v2.2.0.3
  • v2.2.0.4
  • v2.2.0.pre.1
  • v2.2.0.pre.2
  • v2.2.0.pre.3
  • v2.2.0.pre.4
  • v2.2.0.pre.5
  • v2.2.0.pre.6
  • v2.2.2.0
  • v2.2.2.1
  • v2.2.2.2
  • v2.2.2.3
  • v2.2.2.5
  • v2.2.2.6
  • v2.2.3.0
  • v2.3.0.0
  • v2.3.0.1
  • v2.3.0.2
  • v2.3.0.3
  • v2.3.0.4
  • v2.3.0.5
  • v2.3.0.6
  • v2.3.0.7
  • v2.3.0.pre.2
  • v2.3.0.pre.3
  • v2.3.0.pre.4
  • v2.3.0.pre.5
  • v2.3.0.pre.6
  • v2.3.1.0
  • v2.3.1.1
  • v2.3.1.2
  • words-dstr-bug
  • yard

pending completion
834

push

travis-ci

alexdowad
Use 'literal'.freeze to avoid repeated string allocations

In MRI 2.1+, as well as JRuby, calling `freeze` on a string literal compiles
to code which reuses a single, shared string. (It does not actually call
`Object#freeze`.)

4684 of 4811 relevant lines covered (97.36%)

1181.66 hits per line

Relevant lines Covered
Build:
Build:
4811 RELEVANT LINES 4684 COVERED LINES
1181.66 HITS PER LINE
Source Files on use_str_literal_freeze
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
834 use_str_literal_freeze Use 'literal'.freeze to avoid repeated string allocations In MRI 2.1+, as well as JRuby, calling `freeze` on a string literal compiles to code which reuses a single, shared string. (It does not actually call `Object#freeze`.) push 28 Jan 2016 09:36AM UTC alexdowad travis-ci pending completion  
See All Builds (838)
  • Repo on GitHub
  • CI Project
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc