Update CONTRIBUTING.md

This commit is contained in:
Paul Pacheco 2020-10-13 13:07:09 -05:00 committed by GitHub
parent e904cd8cb1
commit f025f6ea4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`
* convert a class to struct
* 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:
* Serialize a message once O(1), instead of for every single client O(n)