Performance optimization - use struct encoding with Poison