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

JuliaLang / julia / #37299
77%

Build:
DEFAULT BRANCH: master
Ran 12 Oct 2022 11:31AM UTC
Jobs 1
Files 383
Run time 14s
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
#37299

push

local

web-flow
Do not use `Stateful` for `cmp` of `AbstractString` (#47125)

PR #45924 fixed length of `Stateful`, but this change requires `Stateful` to call
`length` on its wrapped iterator on instantiation.
The current implementation of `cmp(::AbstractString, ::AbstractString)` wraps the
strings in `Stateful` to efficiently check if one string is longer than the other
without needing an O(N) call to `length`.
However, with #45924 this length call is done anyway, which led to a performance
regression.

In this PR, the `cmp` method is changed so it no longer relies on `Stateful` to do
the same thing.

Fix #46719

80671 of 86327 relevant lines covered (93.45%)

31455242.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #37299.1 12 Oct 2022 11:31AM UTC 0
93.45
Source Files on build #37299
Detailed source file information is not available for this build.
  • Back to Repo
  • a7d446bf on github
  • Prev Build on master
  • Next Build on master
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