资源简介

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

资源截图

代码片段和文件信息

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-05-30 10:18  objccn-optimizing-collections\
     文件     8356398  2017-07-31 21:05  objccn-optimizing-collections\OptimizingCollections.epub
     目录           0  2018-05-30 10:19  __MACOSX\
     目录           0  2018-05-30 10:19  __MACOSX\objccn-optimizing-collections\
     文件         331  2017-07-31 21:05  __MACOSX\objccn-optimizing-collections\._OptimizingCollections.epub
     目录           0  2018-05-30 10:18  objccn-optimizing-collections\OptimizingCollections.playground\
     文件         582  2017-07-31 20:54  objccn-optimizing-collections\OptimizingCollections.playground\contents.xcplayground
     目录           0  2018-05-30 10:19  __MACOSX\objccn-optimizing-collections\OptimizingCollections.playground\
     文件         331  2017-07-31 20:54  __MACOSX\objccn-optimizing-collections\OptimizingCollections.playground\._contents.xcplayground
     目录           0  2018-05-30 10:18  objccn-optimizing-collections\OptimizingCollections.playground\Pages\
     目录           0  2018-05-30 10:18  objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree.xcplaygroundpage\
     文件       43885  2017-07-31 20:54  objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree.xcplaygroundpage\Contents.swift
     目录           0  2018-05-30 10:19  __MACOSX\objccn-optimizing-collections\OptimizingCollections.playground\Pages\
     目录           0  2018-05-30 10:19  __MACOSX\objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree.xcplaygroundpage\
     文件         331  2017-07-31 20:54  __MACOSX\objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree.xcplaygroundpage\._Contents.swift
     文件         831  2017-07-31 21:04  objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree.xcplaygroundpage\timeline.xctimeline
     文件         331  2017-07-31 21:04  __MACOSX\objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree.xcplaygroundpage\._timeline.xctimeline
     文件         331  2018-05-30 10:18  __MACOSX\objccn-optimizing-collections\OptimizingCollections.playground\Pages\._BTree.xcplaygroundpage
     目录           0  2018-05-30 10:18  objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree2.xcplaygroundpage\
     文件       18802  2017-07-31 20:54  objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree2.xcplaygroundpage\Contents.swift
     目录           0  2018-05-30 10:19  __MACOSX\objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree2.xcplaygroundpage\
     文件         331  2017-07-31 20:54  __MACOSX\objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree2.xcplaygroundpage\._Contents.swift
     文件         112  2017-07-31 20:54  objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree2.xcplaygroundpage\timeline.xctimeline
     文件         331  2017-07-31 20:54  __MACOSX\objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree2.xcplaygroundpage\._timeline.xctimeline
     文件         331  2018-05-30 10:18  __MACOSX\objccn-optimizing-collections\OptimizingCollections.playground\Pages\._BTree2.xcplaygroundpage
     目录           0  2018-05-30 10:18  objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree3.xcplaygroundpage\
     文件       16446  2017-07-31 20:54  objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree3.xcplaygroundpage\Contents.swift
     目录           0  2018-05-30 10:19  __MACOSX\objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree3.xcplaygroundpage\
     文件         331  2017-07-31 20:54  __MACOSX\objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree3.xcplaygroundpage\._Contents.swift
     文件         112  2017-07-31 20:54  objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree3.xcplaygroundpage\timeline.xctimeline
     文件         331  2017-07-31 20:54  __MACOSX\objccn-optimizing-collections\OptimizingCollections.playground\Pages\BTree3.xcplaygroundpage\._timeline.xctimeline
............此处省略181个文件信息

评论

共有 条评论