Swift High Performance by Kostiantyn Koval
Author:Kostiantyn Koval [Koval, Kostiantyn]
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2015-11-05T23:00:00+00:00
The empty loop can be skipped as well. As a result, we have saved 24 MB of memory usage and three million method calls.
Dangerous functions
There are some functions and instructions that sometimes don't provide any value for the application but the Swift compiler can't skip them and they could have a very negative impact on performance.
Console print
Printing a statement to the console is usually used for debug purposes. The print and debugPrint instructions aren't removed from the application in the Release mode. Let's explore this code:
for i in 0...1_000_000 { print(i) }
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7397)
Grails in Action by Glen Smith Peter Ledbrook(7291)
Kotlin in Action by Dmitry Jemerov(4633)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4127)
The Age of Surveillance Capitalism by Shoshana Zuboff(3411)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3236)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3009)
Mastering Python for Networking and Security by José Manuel Ortega(2933)
Blockchain Basics by Daniel Drescher(2883)
TCP IP by Todd Lammle(2633)
Microsoft 365 Identity and Services Exam Guide MS-100 by Aaron Guilmette(2532)
From CIA to APT: An Introduction to Cyber Security by Edward G. Amoroso & Matthew E. Amoroso(2478)
Hands-On Azure for Developers by Kamil Mrzyglod(2395)
React Native - Building Mobile Apps with JavaScript by Novick Vladimir(2335)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2308)
The Social Psychology of Inequality by Unknown(2304)
The Art Of Deception by Kevin Mitnick(2291)
Configuring Windows Server Hybrid Advanced Services Exam Ref AZ-801 by Chris Gill(2281)
Azure Containers Explained by Wesley Haakman & Richard Hooper(2163)