So, will there be an iPhone for people who hold it with the left hand?
Probably the most visually useful slide for why the iPhone Duo UI is reconfiguredView quoted post on X
@yanewm
Probably the most visually useful slide for why the iPhone Duo UI is reconfiguredView quoted post on X
CPU3命令でうるう年を判定する最適化。View quoted post on X
bool is_leap_year_fast(uint32_t y) {
return ((y * 1073750999) & 3221352463) <= 126976;
}
A leap year check in three instructions
hueffner.de/falk/blog/a-le…
GCCの実装でも取り入れられた。
github.com/gcc-mirror/gcc…
Microsoft is replacing all old Windows 11 dialog boxes with faster, modern WinUI 3 versions, starting with the file copy dialog.View quoted post on X
I compared UIKit and SwiftUI performance with the most ridiculous scroll view possible.View quoted post on X
Memory usage wasn’t dramatic, but was interestingly spiky. Perhaps due to the different numbers of gifs and different resolution of the images rendered on each cell.
When it came to profiling peak memory and energy usage, I expected UIKit to yield the same kind of results I saw in SwiftUI: We’re still displaying an enormous number of elements, animating them the same, and these images are not any bigger or smaller, right?
Now don’t I look silly.
Memory usage hovered around 92MB for UIKit, compared to 248MB in SwiftUI.
Read my scientific performance comparison right here 🧪 blog.jacobstechtavern.com/p/swiftui-vs-u…