diff options
| author | Stefan Boberg <[email protected]> | 2026-01-19 13:36:48 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-01-19 13:36:48 +0100 |
| commit | 206499f22fd821f09f18dba7f821b6c320e21475 (patch) | |
| tree | 4e4838c0fabc983e6ed9ce57dabdab3e535e8d22 /docs/CODING.md | |
| parent | consul package and basic client added (#716) (diff) | |
| download | zen-206499f22fd821f09f18dba7f821b6c320e21475.tar.xz zen-206499f22fd821f09f18dba7f821b6c320e21475.zip | |
small doc updates (#715)
Diffstat (limited to 'docs/CODING.md')
| -rw-r--r-- | docs/CODING.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/CODING.md b/docs/CODING.md index 2452e6ef0..8924c8107 100644 --- a/docs/CODING.md +++ b/docs/CODING.md @@ -22,3 +22,9 @@ Formatting is ensured by using [pre-commit](https://pre-commit.com/) - Run pre-commit manually on staged files `pre-commit run` - Run pre-commit manually on all files `pre-commit run --all-files`. There is also a `xmake precommit` shortcut which may be easier to remember - Install git commit hooks `pre-commit install`, which will automatically run before every commit. + +# Standard Library / Containers + +Unlike UE5, use of `std` containers etc is acceptable though in some cases you may also consider using `eastl` equivalents which can +sometimes enable more efficient runtime. In particular, `eastl::fixed_vector` et al can eliminate memory allocations by pre-allocating +backing memory for common (small) sizes internally while still allowing larger sizes by overflowing to the heap. |