Without looking through the implementation, I suspect that the consequence here is that it pre-allocates way more memory than it needs and then does some custom dynamic allocation with that.
https://www.geeksforgeeks.org/difference-between-static-allo...