MAINT: core: string constants in static buffers

Saves copying them into temporary buffers.