Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve throw_converterror #205

Merged
merged 1 commit into from
Jul 24, 2020
Merged

Conversation

kimikage
Copy link
Collaborator

@kimikage kimikage commented Jul 23, 2020

Fixes #188 (comment)

This uses the type aliases for the message and avoids showing huge numbers.
This also reduces the compilation time, i.e. the CI time.

Although the time for testing on the CI is unsettled, this saves about 10 seconds on my local Windows machine. FYI, I could not feel the time saving effect of the @nospecialize(X) for the first argument.

@codecov
Copy link

codecov bot commented Jul 23, 2020

Codecov Report

Merging #205 into master will increase coverage by 0.08%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #205      +/-   ##
==========================================
+ Coverage   89.74%   89.83%   +0.08%     
==========================================
  Files           6        6              
  Lines         478      482       +4     
==========================================
+ Hits          429      433       +4     
  Misses         49       49              
Impacted Files Coverage Δ
src/FixedPointNumbers.jl 88.05% <100.00%> (+0.36%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 55ee461...12e1ed6. Read the comment docs.

This uses the type aliases for the message and avoids showing huge numbers.
This also reduces the compilation time, i.e. the CI time.
@kimikage kimikage merged commit 33f2583 into JuliaMath:master Jul 24, 2020
@kimikage kimikage deleted the converterror branch July 24, 2020 11:31
@kimikage kimikage mentioned this pull request May 1, 2024
38 tasks
kimikage added a commit to kimikage/FixedPointNumbers.jl that referenced this pull request May 1, 2024
This uses the type aliases for the message and avoids showing huge numbers.
This also reduces the compilation time, i.e. the CI time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Making display style consistent with Base
2 participants