# A.2.4: 减少运算时间的技巧

Karamba3D花费了大量时间来解决模型挠度。所需时间取决于静态系统自由度数$$n$$以及节点之间存在多少个连接。在每个节点都连接到所有其他节点的理论上情况下，计算时间随$$n^3$$的增长而增加。如果每个节点彼此相邻$$n\_{neigh}$$，并且整个结构具有一个沿其定向的主轴（即，距离远的节点之间没有连接），则计算量大约增加$$0.5 \cdot n \cdot n^2\_{neigh}$$。Karamba3D可以使用多个处理器，因此拥有多个处理器可节省时间。使用桁架代替梁可节省一半的计算时间。

当使用诸如Galapagos等进行优化时，其不断更新的显示大大降低了程序的运行速度。为了获得更好的性能，请禁用所有组件预览或将Rhino窗口最小化。

通过在显示网格之前加入网格，可以大大加快以网格为结果的渲染速度。


---

# Agent Instructions: 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:

```
GET https://manual-1-3.karamba3d.com/chinese_1_3_3/appendix/a.4-background-information/a.4.4-hints-on-reducing-computation-time.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
