(Note that I am not suggesting that you're using it incorrectly; I realize that you're trying to avoid unnecessary heap allocations here.)