mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Update CONTRIBUTING.md
This commit is contained in:
parent
e904cd8cb1
commit
f025f6ea4e
@ -113,6 +113,7 @@ Micro-optimizations try to improve the performance of an application by replacin
|
|||||||
* replace `Vector3.Distance(a,b) < K` with `Vector3.SqrMagnitude(b - a) < K * K`
|
* replace `Vector3.Distance(a,b) < K` with `Vector3.SqrMagnitude(b - a) < K * K`
|
||||||
* convert a class to struct
|
* convert a class to struct
|
||||||
* manually inlining small functions
|
* manually inlining small functions
|
||||||
|
* rewriting a function in native code
|
||||||
|
|
||||||
Macro-optimizations try to improve the performance of an application by changing the algorithm. Some examples include:
|
Macro-optimizations try to improve the performance of an application by changing the algorithm. Some examples include:
|
||||||
* Serialize a message once O(1), instead of for every single client O(n)
|
* Serialize a message once O(1), instead of for every single client O(n)
|
||||||
|
Loading…
Reference in New Issue
Block a user