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

Easier to read lookup table for encoding using UInt8(ascii: "A") #4

Merged
merged 1 commit into from Dec 23, 2019

Conversation

fabianfett
Copy link
Contributor

As proposed in by @weissi in apple/swift-nio#1322
replacing the encode lookup table with uses of UInt8(ascii: “A”) instead of 65
for better to read code.

@codecov-io
Copy link

codecov-io commented Dec 20, 2019

Codecov Report

Merging #4 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   97.67%   97.67%           
=======================================
  Files           4        4           
  Lines         258      258           
=======================================
  Hits          252      252           
  Misses          6        6
Flag Coverage Δ
#base64 97.67% <ø> (ø) ⬆️
#unittests 97.67% <ø> (ø) ⬆️
Impacted Files Coverage Δ
Sources/Base64/Base64.swift 97.66% <ø> (ø) ⬆️

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 55892e5...183d89c. Read the comment docs.

As proposed in by @weissi in apple/swift-nio#1322
replacing the encode lookup table with uses of `UInt8(ascii: “A”)` instead of `65`
for better to read code.
@fabianfett fabianfett force-pushed the feature/better-to-read-lookup-table branch from 183d89c to b448b8b Compare December 23, 2019 11:25
@fabianfett fabianfett merged commit abcb9b0 into master Dec 23, 2019
@fabianfett fabianfett deleted the feature/better-to-read-lookup-table branch December 29, 2019 11:17
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.

None yet

2 participants