Re: Base64 decode/encode performance

From: Mark Mielke <mark(at)mark(dot)mielke(dot)cc>
To: Marko Kreen <markokr(at)gmail(dot)com>
Cc: Gaetano Mendola <mendola(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Base64 decode/encode performance
Date: 2008-09-10 14:44:00
Message-ID: 48C7DD30.3030100@mark.mielke.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Marko Kreen wrote:
> (Note: the b64encode there reads 3 chars at a time, b64decode int32
> at a time.)
>
> There are 2 killer problems:
>
> - decode does not seem to handle architectures that segfault
> on unaligned int32 accesses.

Out of curiosity - does this problem exist on any platform for which
PostgreSQL is currently ported and supported?

Cheers,
mark

--
Mark Mielke <mark(at)mielke(dot)cc>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2008-09-10 14:47:21 Re: hash index improving v3
Previous Message Ron Mayer 2008-09-10 14:38:14 Re: [PATCH] Cleanup of GUC units code