Perfomace bug #1335

Open
opened 3 years ago by boris768 · 0 comments
boris768 commented 3 years ago (Migrated from github.com)

3233ffe1c4/src/renderer/WaterLevel.cpp (L456-L464)

Is it necessary to allocate heap for this array? Why not allocate it on stack?
just
bool isConnected[MAX_SMALL_SECTORS][MAX_SMALL_SECTORS] = {};

https://github.com/GTAmodding/re3/blob/3233ffe1c4b99e8efb4c41c6794b4fce880cf503/src/renderer/WaterLevel.cpp#L456-L464 Is it necessary to allocate heap for this array? Why not allocate it on stack? just ` bool isConnected[MAX_SMALL_SECTORS][MAX_SMALL_SECTORS] = {}; `
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mirror/re3#1335
Loading…
There is no content yet.