[postgis-devel] JDBC & WKB - 400% overhead

Markus Schaber schabios at logi-track.com
Thu Feb 24 01:35:02 PST 2005


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: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20050224/2d7763be/attachment.sig>


More information about the postgis-devel mailing list