Trying to further improve , and as I'm still unhappy with the amount of memory needed ....

Well, this little and special custom (only dealing with equally sized objects on a single thread and actively preventing ) reduces the resident set in my tests by 5 to 10 MiB, compared to "pooling" with linked lists in whatever 's serves me. At least something. πŸ™ˆ

github.com/Zirias/poser/blob/m

The resident set now stabilizes at 79MiB after many runs of my somewhat heavy jmeter test simulating 1000 distinct clients.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/zirias/statuses/114823896145948730 on your instance and quote it. (Note that quoting is not supported in Mastodon.)