mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.2K
active users

#enkiTS

0 posts0 participants0 posts today
Continued thread

Improving the file saving performance was fairly easy. The octree write function was single threaded. Profiling revealed that the bulk of the time was spent in LZ4 compression.

So I added data parallel using TaskSets which compressed sections of the octree to memory. The main write loop launched several of these, then wrote out the results in order whilst setting off new TaskSets.

github.com/dougbinks/enkiTS

2/N

GitHubGitHub - dougbinks/enkiTS: A permissively licensed C and C++ Task Scheduler for creating parallel programs. Requires C++11 support.A permissively licensed C and C++ Task Scheduler for creating parallel programs. Requires C++11 support. - dougbinks/enkiTS