Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve rendering time by rewriting `STD140BufferFormat._write_padded…
…()` (#4058) The original implementation of `STD140BufferFormat._write_padded()` used `np.pad` which is slow. This new implementation avoids that by creating a new array of zeroes instead. In this way, this method now takes 60x less time, and the total rendering time is almost halved.
- Loading branch information