pg.ddx.io  postgis-devel@lists.osgeo.org mailing list archive (PostGIS development)  
help / color / mirror / Atom feed
From: Markus Schaber <schabios@logi-track.com>
Subject: [postgis-devel] JDBC & WKB - 400% overhead
Date: Thu, 24 Feb 2005 10:35:02 +0100
Message-ID: <421D9FC6.1090102@logi-track.com> (raw)
In-Reply-To: <1109186304.421cd700de01b@webmail.limegroup.com>
References: <1109186304.421cd700de01b@webmail.limegroup.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: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20050224/2d7763be/attachment.sig;



view thread (10+ messages)  latest in thread

Message-ID: <421D9FC6.1090102@logi-track.com>
Permalink:  ../421D9FC6.1090102@logi-track.com/

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: postgis-devel@lists.osgeo.org
  Cc: schabios@logi-track.com
  Subject: Re: [postgis-devel] JDBC & WKB - 400% overhead
  In-Reply-To: <421D9FC6.1090102@logi-track.com>
  References: <1109186304.421cd700de01b@webmail.limegroup.com> <421D9FC6.1090102@logi-track.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox