NSArray 的实现 [英] Implementation of NSArray

查看:20
本文介绍了NSArray 的实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个NSArray是如何实现的,是不是和std::vector类似.

How is a NSArray implemented, is it similar to std::vector.

推荐答案

它与 std::vector 不相似.

除了针对平台上最常见的用途进行调整之外,实现细节是不透明的.

The implementation details are opaque beyond that it is tuned to the most common uses found on the platform.

这应该会提供一些见解.

这篇关于NSArray 的实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆