Skip to content

Commit

Permalink
Updated readme with links to swift forum discussion, Jira and rdar.
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkschreib committed Jul 19, 2019
1 parent e16c1c5 commit 126b7e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Decimal64.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
43791D9922E0DEAC00A308E6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
43791D9D22E0DF5100A308E6 /* DecimalFP64.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DecimalFP64.swift; sourceTree = "<group>"; };
43791D9F22E0DF6A00A308E6 /* Decimal64.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Decimal64.swift; sourceTree = "<group>"; };
43791DA422E191FC00A308E6 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -59,6 +60,7 @@
43791D7E22E0DD1400A308E6 = {
isa = PBXGroup;
children = (
43791DA422E191FC00A308E6 /* README.md */,
43791D8922E0DD1400A308E6 /* Decimal64 */,
43791D9622E0DEAC00A308E6 /* Decimal64Test */,
43791D8822E0DD1400A308E6 /* Products */,
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,6 @@ Key findings:
- The difference between the two new implementations is negligible.
- There is a very bad performance penalty if someone tries to use numbers in a generic way.
(i.e. protocol witness overhead)
**Update**
After discussion on https://forums.swift.org/t/performance-overhead-for-protocols/27104 Joe Groff opened https://bugs.swift.org/browse/SR-11158 (i.e. rdar://problem/53285593)
- The own implementation is just 5% slower than the builtin Double (which is unsuitable for most currency calculations)

0 comments on commit 126b7e7

Please # to comment.