Some useful websites about Swift Algorithm
- Raywenderlich / swift-algorithm-club
- Raywenderlich / swift-algorithm-club 簡中翻譯版
- 資料結構 & 演算法 in Swift (一):Swift基礎和資料結構
- Practice sorting in Swift
- Swift 基本排序演算法(選擇排序、插入排序、希爾排序)
Some useful websites about Swift Algorithm
WWDC2021
WWDC 2020
Introducing ARKit3 new features
New Features
Support A12/A12X Bionic chips:
Only Support TrueDepth camera
More details here: https://www.slideshare.net/AbbyLai1/ios-introducing-arkit3
How to convert TensorFlow to Core ML?
More details here: https://www.slideshare.net/AbbyLai1/tensor-flow-to-coreml-model
最近寫了一個demo專案,使用SE2的時候跑得很順,用iPhone8跑卻會Lag,播放影片會卡頓,仔細一看,當下Memory竟然飆到兩百多MB!
打開Instruments監控了一下,完全沒有出現memory leak,研究了一下Allocations,發現是GPUImage使用了過多的memory
記得打開dSYM才比較好分析哪裡有問題唷
Allocations的介紹
為什麼GPUImage使用了過多的memory呢?
後來將以下Resize後,App使用的Memory少超多
App在iPhone8上也沒有再Lag了…