集合类型优化——ObjC中国

上传者: walter_white | 上传时间: 2019-12-21 21:33:38 | 文件大小: 18.95MB | 文件类型: zip
使用 Swift 创造自定义的高性能集合类型 在本书中,我们会介绍如何编写高性能的 Swift 集合类型代码。通观全书,我们创建了很多性能测试,并得到了一些让人惊喜的结果。我们将会探索如何用实现像是有序数组、二叉树、红黑树和 B 树这样的自定义数据结构,并让它们具有值语义和写时复制等特性。 即使你从未实现过自定义的集合类型,本书也将会带领您逐渐深入,并一探 Swift 代码性能的特质。

文件下载

资源详情

[{"title":"( 74 个子文件 18.95MB ) 集合类型优化——ObjC中国","children":[{"title":"objccn-optimizing-collections","children":[{"title":"OptimizingCollections.epub <span style='color:#111;'> 7.97MB </span>","children":null,"spread":false},{"title":"OptimizingCollections.screen.pdf <span style='color:#111;'> 4.05MB </span>","children":null,"spread":false},{"title":"OptimizingCollections.playground","children":[{"title":"Resources","children":[{"title":"Images","children":[{"title":"BTree7@3x.png <span style='color:#111;'> 25.94KB </span>","children":null,"spread":false},{"title":"Insertion2.png <span style='color:#111;'> 244.66KB </span>","children":null,"spread":false},{"title":"Iteration5.png <span style='color:#111;'> 356.47KB </span>","children":null,"spread":false},{"title":"Insertion5.png <span style='color:#111;'> 388.72KB </span>","children":null,"spread":false},{"title":"Iteration6.png <span style='color:#111;'> 401.26KB </span>","children":null,"spread":false},{"title":"Insertion6.png <span style='color:#111;'> 428.92KB </span>","children":null,"spread":false},{"title":"Insertion4.png <span style='color:#111;'> 338.78KB </span>","children":null,"spread":false},{"title":"BTreeSplit@3x.png <span style='color:#111;'> 64.72KB </span>","children":null,"spread":false},{"title":"SortedArray-raw.png <span style='color:#111;'> 310.53KB </span>","children":null,"spread":false},{"title":"BTree.png <span style='color:#111;'> 305.69KB </span>","children":null,"spread":false},{"title":"RedBlackTree2Benchmark.png <span style='color:#111;'> 367.74KB </span>","children":null,"spread":false},{"title":"RedBlackTreeBenchmark.png <span style='color:#111;'> 352.94KB </span>","children":null,"spread":false},{"title":"RedBlackTree-Black@3x.png <span style='color:#111;'> 53.18KB </span>","children":null,"spread":false},{"title":"BTree1@3x.png <span style='color:#111;'> 5.89KB </span>","children":null,"spread":false},{"title":"SharedInsertion.png <span style='color:#111;'> 364.55KB </span>","children":null,"spread":false},{"title":"SortedArray-contains.png <span style='color:#111;'> 242.37KB </span>","children":null,"spread":false},{"title":"NonUniqueStorage@3x.png <span style='color:#111;'> 52.40KB </span>","children":null,"spread":false},{"title":"BTree10@3x.png <span style='color:#111;'> 41.51KB </span>","children":null,"spread":false},{"title":"BTreeImplementation@3x.png <span style='color:#111;'> 172.23KB </span>","children":null,"spread":false},{"title":"BTree3@3x.png <span style='color:#111;'> 13.06KB </span>","children":null,"spread":false},{"title":"Iteration3.png <span style='color:#111;'> 275.52KB </span>","children":null,"spread":false},{"title":"BTree8@3x.png <span style='color:#111;'> 30.79KB </span>","children":null,"spread":false},{"title":"BalancePatterns@3x.png <span style='color:#111;'> 128.36KB </span>","children":null,"spread":false},{"title":"SearchTree@3x.png <span style='color:#111;'> 56.29KB </span>","children":null,"spread":false},{"title":"BTree5@3x.png <span style='color:#111;'> 22.71KB </span>","children":null,"spread":false},{"title":"SortedArray.png <span style='color:#111;'> 298.74KB </span>","children":null,"spread":false},{"title":"Insertion3.png <span style='color:#111;'> 289.72KB </span>","children":null,"spread":false},{"title":"SharedInsertion2.png <span style='color:#111;'> 401.70KB </span>","children":null,"spread":false},{"title":"TreeIteration2.png <span style='color:#111;'> 350.61KB </span>","children":null,"spread":false},{"title":"BTree4@3x.png <span style='color:#111;'> 18.23KB </span>","children":null,"spread":false},{"title":"RedBlackTree-Index@3x.png <span style='color:#111;'> 90.64KB </span>","children":null,"spread":false},{"title":"UniqueStorage@3x.png <span style='color:#111;'> 66.15KB </span>","children":null,"spread":false},{"title":"BTree-Insertion.png <span style='color:#111;'> 211.32KB </span>","children":null,"spread":false},{"title":"BTree9@3x.png <span style='color:#111;'> 39.12KB </span>","children":null,"spread":false},{"title":"BTree6@3x.png <span style='color:#111;'> 20.45KB </span>","children":null,"spread":false},{"title":"BTree11@3x.png <span style='color:#111;'> 66.38KB </span>","children":null,"spread":false},{"title":"Insertion7.png <span style='color:#111;'> 417.20KB </span>","children":null,"spread":false},{"title":"OrderedSet.png <span style='color:#111;'> 372.13KB </span>","children":null,"spread":false},{"title":"InsertionSummary.png <span style='color:#111;'> 444.86KB </span>","children":null,"spread":false},{"title":"RedBlackTree@3x.png <span style='color:#111;'> 136.29KB </span>","children":null,"spread":false},{"title":"BTree2@3x.png <span style='color:#111;'> 7.06KB </span>","children":null,"spread":false},{"title":"TreeIteration1.png <span style='color:#111;'> 221.51KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Sources","children":[{"title":"SortedSet.swift <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"RedBlackTree.swift <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"Preface.swift <span style='color:#111;'> 917B </span>","children":null,"spread":false}],"spread":true},{"title":"contents.xcplayground <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"playground.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 135B </span>","children":null,"spread":false},{"title":"xcuserdata","children":[{"title":"onevcat.xcuserdatad","children":[{"title":"UserInterfaceState.xcuserstate <span style='color:#111;'> 9.24KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Pages","children":[{"title":"RedBlackTree2.xcplaygroundpage","children":[{"title":"Contents.swift <span style='color:#111;'> 34.07KB </span>","children":null,"spread":false},{"title":"timeline.xctimeline <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false}],"spread":true},{"title":"Introduction.xcplaygroundpage","children":[{"title":"Contents.swift <span style='color:#111;'> 10.99KB </span>","children":null,"spread":false},{"title":"timeline.xctimeline <span style='color:#111;'> 822B </span>","children":null,"spread":false}],"spread":true},{"title":"SortedArray.xcplaygroundpage","children":[{"title":"Contents.swift <span style='color:#111;'> 19.61KB </span>","children":null,"spread":false},{"title":"timeline.xctimeline <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"RedBlackTree.xcplaygroundpage","children":[{"title":"Contents.swift <span style='color:#111;'> 41.48KB </span>","children":null,"spread":false},{"title":"timeline.xctimeline <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false}],"spread":true},{"title":"BTree2.xcplaygroundpage","children":[{"title":"Contents.swift <span style='color:#111;'> 18.36KB </span>","children":null,"spread":false},{"title":"timeline.xctimeline <span style='color:#111;'> 112B </span>","children":null,"spread":false}],"spread":true},{"title":"NSOrderedSet.xcplaygroundpage","children":[{"title":"Contents.swift <span style='color:#111;'> 22.65KB </span>","children":null,"spread":false},{"title":"timeline.xctimeline <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false}],"spread":false},{"title":"Conclusions.xcplaygroundpage","children":[{"title":"Contents.swift <span style='color:#111;'> 10.08KB </span>","children":null,"spread":false},{"title":"timeline.xctimeline <span style='color:#111;'> 112B </span>","children":null,"spread":false}],"spread":false},{"title":"Title+Preface.xcplaygroundpage","children":[{"title":"Contents.swift <span style='color:#111;'> 9.25KB </span>","children":null,"spread":false},{"title":"timeline.xctimeline <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":false},{"title":"Colophon.xcplaygroundpage","children":[{"title":"Contents.swift <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"timeline.xctimeline <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":false},{"title":"BTree.xcplaygroundpage","children":[{"title":"Contents.swift <span style='color:#111;'> 42.86KB </span>","children":null,"spread":false},{"title":"timeline.xctimeline <span style='color:#111;'> 831B </span>","children":null,"spread":false}],"spread":false},{"title":"BTree4.xcplaygroundpage","children":[{"title":"Contents.swift <span style='color:#111;'> 20.93KB </span>","children":null,"spread":false},{"title":"timeline.xctimeline <span style='color:#111;'> 112B </span>","children":null,"spread":false}],"spread":false},{"title":"BTree3.xcplaygroundpage","children":[{"title":"Contents.swift <span style='color:#111;'> 16.06KB </span>","children":null,"spread":false},{"title":"timeline.xctimeline <span style='color:#111;'> 112B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明