Skip to content

Latest commit

History

History
17 lines (12 loc) 路 395 Bytes

File metadata and controls

17 lines (12 loc) 路 395 Bytes

dprint(_:)

public func dprint(_ item: @autoclosure () -> Any)

Swift still calls print() and/or debugPrint() in shipped apps. We use a method described in onevcat's post (https://onevcat.com/2016/02/swift-performance/) to optimaze the performance.

  • Parameter item: items to print

Parameters

Name Description
item items to print