From: Markus Schaber Date: Thu, 24 Feb 2005 10:35:02 +0100 Subject: [postgis-devel] JDBC & WKB - 400% overhead In-Reply-To: <1109186304.421cd700de01b@webmail.limegroup.com> References: <1109186304.421cd700de01b@webmail.limegroup.com> Message-ID: <421D9FC6.1090102@logi-track.com> Hi, david, dblasby at openplans.org schrieb: > Well - if you look at the ResultSet#getBytes() code, it explicity > decodes the "\000" format for columns of type bytea. > > Perhaps using a Base64 encoding would be a good idea - its almost 3* as > efficient as this encoding (ie. 4 transfer bytes gives you 3 bytes of > actual data). You can also use canonical text rep, this uses hex encoding. Markus -- markus schaber | dipl. informatiker logi-track ag | rennweg 14-16 | ch 8001 zürich phone +41-43-888 62 52 | fax +41-43-888 62 53 mailto:schabios at logi-track.com | www.logi-track.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: