Przeglądaj źródła

Add note about Whole-Module Optimization

Marcin Krzyżanowski 8 lat temu
rodzic
commit
7fde99a89c
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      README.md

+ 4 - 0
README.md

@@ -78,6 +78,8 @@ For the latest version, please check [develop](https://github.com/krzyzanowskim/
 To install CryptoSwift, add it as a submodule to your project (on the top level project directory):
 
     git submodule add https://github.com/krzyzanowskim/CryptoSwift.git
+    
+It is recommended to enable [Whole-Module Optimization](https://swift.org/blog/whole-module-optimizations/) to gain better performance. Non-optimized build results in significantly worse performance.
 
 ####Embedded Framework
 
@@ -118,6 +120,8 @@ or for newest version from specified branch of code:
 pod 'CryptoSwift', :git => "https://github.com/krzyzanowskim/CryptoSwift", :branch => "master"
 ```
 
+Bear in mind that CocoaPods will build CryptoSwift without [Whole-Module Optimization](https://swift.org/blog/whole-module-optimizations/) that my impact performance. You can change it manually after installation.
+
 ####Carthage 
 You can use [Carthage](https://github.com/Carthage/Carthage). 
 Specify in Cartfile: