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

unclenachoduh / pluralrules / 105
91%

Build:
DEFAULT BRANCH: master
Ran 14 Aug 2018 10:13PM UTC
Jobs 1
Files 12
Run time 75min
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

pending completion
105

push

travis-ci

unclenachoduh
Add dedicated impls for PluralOperands::from for integers, avoid unnecessary string allocations (#19)

Currently we always convert to a string before parsing. This has two
problems:

 - For `&str` inputs, we unconditionally copy and allocate despite never
needing a `String`
 - For integers, we spend extra time reparsing back to an integer

This uses a new trait so that we can specialize the implementation and
be fast for the common cases.

18 of 18 new or added lines in 2 files covered. (100.0%)

540 of 601 relevant lines covered (89.85%)

0.97 hits per line

Jobs
ID Job ID Ran Files Coverage
3 105.3 14 Aug 2018 10:13PM UTC 0
89.85
Travis Job 105.3
Source Files on build 105
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #105
  • 84ea2c61 on github
  • Prev Build on master (#103)
  • Next Build on master (#110)
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

© 2026 Coveralls, Inc