WKB output in 1.0 RC1 is several times slower than in 0.9. Problem seems to be the function WKBFromLWGEOM (used in AsBinary), which first serializes lwgeom to hex string and then parses the string instead of writing out WKB directly. Are there any plans to optimize this for 1.0.0 release ?