《iOS 与 macOS 性能调优》封面

iOS 与 macOS 性能调优

IOS and macOS Performance Tuning

Marcel Weiher · 初版 2017 年

2人推荐
4位读者提及
10次提及

Hacker News 上怎么说

  • ……以至于我能自己造一套框架。为什么?因为我尝试过真正去思考底层的数据结构,而不是凭条件反射遵循老规矩。最好的例子?Marcel Weiher 在《iOS and MacOS Performance Tuning》第 13 章里讲解了如何将一款公共交通 App 的查询速度提升 1000 倍。还有什么?对数据(代码)和应用(预期用途)的描述可能会好得多,因为思考……

    …that I can roll my own framework. Why? Because I’ve tried to actually think about my underlying data structure instead of defaulting to convention but reflex. The best example? Marcel Weiher Ch 13 in “iOS and MacOS Performance Tuning” explains how to improve lookups in a public transport app by 1000x. What more? The description of the the data (the code) and the the application (the intended use) are probably way better because thinking…

  • 哈哈。实际上,只要你稍微注意一下,就能以 Smalltalk 级别的封装和动态性,获得 C 语言级别的性能。参见《iOS and macOS Performance Tuning: Cocoa, Cocoa Touch, Objective-C, and Swift》:https://www.amazon.com/gp/product/0321842847/ref=as_li_tl?ie...

    Ha ha. In fact, you can get C-level performance with Smalltalk levels of encapsulation and dynamicism if you pay just a little attention. See iOS and macOS Performance Tuning: Cocoa, Cocoa Touch, Objective-C, and Swift: https://www.amazon.com/gp/product/0321842847/ref=as_li_tl?ie...

  • ……然而当程序的数据集增加到一百多条小记录(笔记/任务等)就出问题时,我们居然还觉得这很正常。总之,我在即将出版的新书《iOS and macOS Performance Tuning: Cocoa, Cocoa Touch, Objective-C, and Swift》[2]中写了更多关于这方面的内容 [1] http://sbel.wisc.edu/Courses/ME964/Literature/knuthProgrammi... [2] https://www.amazon.com/iOS-macOS-Performance-Tuning-Objectiv...

    …yet we actually think it's OK that programs have problems when their data-sets increase to over a hundred small entries (notes/tasks/etc.). Anyway, I write a lot more about this in my upcoming book: "iOS and macOS Performance Tuning: Cocoa, Cocoa Touch, Objective-C, and Swift"[2] [1] http://sbel.wisc.edu/Courses/ME964/Literature/knuthProgrammi... [2] https://www.amazon.com/iOS-macOS-Performance-Tuning-Objectiv...

  • ……Swift 大体上跟 Java 差不多,不过两者也各有几个优于或劣于对方的特例。Rust 胜过 Swift 的表现相当稳定,有时差距还相当大。当然,实际的 App 可能会有所不同。《iOS and macOS Performance Tuning》(https://www.amazon.com/iOS-macOS-Performance-Tuning-Objectiv...)这本书里,即便不搞任何刁钻的优化,Swift 对比 Objective-C 的基准测试结果也相当扎心(并非你最初……

    …Swift is mostly equivalent to Java with a few outliers both for/against Swift. Rust outperforms Swift fairly consistently and sometimes quite considerably. Of course, real apps may be different. The book iOS and macOS Performance Tuning ( https://www.amazon.com/iOS-macOS-Performance-Tuning-Objectiv... ) has pretty damning benchmarks against Swift versus Objective-C even without using any tricky optimizations (not what you originally…

  • 虽然很多人都这么认为,但这其实并不是真的。欲知详情,请参阅 Addison-Wesley 出版的《iOS and macOS Performance Tuning: Cocoa, Cocoa Touch, Objective-C, and Swift》https://www.amazon.com/iOS-macOS-Performance-Tuning-Objectiv... 如果你不想看书,这里有一个系列博客文章的示例:……

    While this is what a lot of people believe, it happens to not be true. For more details, see iOS and macOS Performance Tuning: Cocoa, Cocoa Touch, Objective-C, and Swift, Addison-Wesley https://www.amazon.com/iOS-macOS-Performance-Tuning-Objectiv... If you don't want to read a book, here is an example as a series of blog posts:…

  • 是的。比如,我是用 LaTeX 写完《iOS and macOS Performance Tuning: Cocoa, Cocoa Touch, Objective-C, and Swift》[1][2]的,我觉得成书效果相当不错(Pearson 有些非常厉害的 LaTeX 排版师,把我那些粗糙零碎的草稿变成了……

    Yes. For example, I wrote "iOS and macOS Performance Tuning: Cocoa, Cocoa Touch, Objective-C, and Swift"[1][2] using LaTeX, and I think it came out rather well (Pearson has some pretty amazing LaTeX compositors that took my rough ramblings and turned them into…

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助