> For the complete documentation index, see [llms.txt](https://qcrao91.gitbook.io/go/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://qcrao91.gitbook.io/go/map.md).

# map

- [map 的底层实现原理是什么](https://qcrao91.gitbook.io/go/map/map-de-di-ceng-shi-xian-yuan-li-shi-shi-mo.md)
- [可以边遍历边删除吗](https://qcrao91.gitbook.io/go/map/ke-yi-bian-bian-li-bian-shan-chu-ma.md)
- [map 的删除过程是怎样的](https://qcrao91.gitbook.io/go/map/map-de-shan-chu-guo-cheng-shi-zen-yang-de.md)
- [可以对 map 的元素取地址吗](https://qcrao91.gitbook.io/go/map/ke-yi-dui-map-de-yuan-su-qu-di-zhi-ma.md)
- [如何比较两个 map 相等](https://qcrao91.gitbook.io/go/map/ru-he-bi-jiao-liang-ge-map-xiang-deng.md)
- [如何实现两种 get 操作](https://qcrao91.gitbook.io/go/map/ru-he-shi-xian-liang-zhong-get-cao-zuo.md)
- [map 是线程安全的吗](https://qcrao91.gitbook.io/go/map/map-shi-xian-cheng-an-quan-de-ma.md)
- [map 的遍历过程是怎样的](https://qcrao91.gitbook.io/go/map/map-de-bian-li-guo-cheng-shi-zen-yang-de.md)
- [map 中的 key 为什么是无序的](https://qcrao91.gitbook.io/go/map/map-zhong-de-key-wei-shi-mo-shi-wu-xu-de.md)
- [float 类型可以作为 map 的 key 吗](https://qcrao91.gitbook.io/go/map/float-lei-xing-ke-yi-zuo-wei-map-de-key-ma.md)
- [map 的赋值过程是怎样的](https://qcrao91.gitbook.io/go/map/map-de-fu-zhi-guo-cheng-shi-zen-yang-de.md)
- [map 的扩容过程是怎样的](https://qcrao91.gitbook.io/go/map/map-de-kuo-rong-guo-cheng-shi-zen-yang-de.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://qcrao91.gitbook.io/go/map.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
