- Freeing unused memory held by visible entities - Fixed comment style # Objective With Rust 1.56 it's possible to shrink vectors to a specified capacity. Visibility system had a comment before asking for that feature to free unused memory by a vector if its capacity is two times larger than the length. ## Solution Shrinking the vector of visible entities to the nearest power of 2 elements next to `len()`, if capacity exceeds it more than two times. |
||
|---|---|---|
| .. | ||
| render | ||
| alpha.rs | ||
| bundle.rs | ||
| lib.rs | ||
| light.rs | ||
| material.rs | ||
| pbr_material.rs | ||
| wireframe.rs | ||