Is that a problem or an inconvience? But if you can't figure out how to
make it work, put in an arbitrary limit.  Just remember that there is a
huge difference between not being able to do something and not being able
to do something efficiently given limit resources.

In practice nobody is going to ask to sort million character fields.  But
it would be nicer to try.

On Monday, February 23, 2015, Adriano dos Santos Fernandes <
adrian...@gmail.com> wrote:

> On 23/02/2015 16:36, James Starkey wrote:
> > Encode null as a value type and skip the null flags altogether --
> > saves a couple of bytes for every record.
> >
> > I'd encode the format version as the first value. That will let you
> > have 2^63 format versions, which should be enough.
> >
> > I'd getvthe transaction id in the record header rather than the record
> > itself so it can be compared (a high frequency operation) with decoding.
> >
> > And yes, encoding is based on actual value, not declared type.  This
> > opens up some interest possibilty such as abstract "number" and
> > "string" types without declared length.  Did that in NuoDB.  Ain't
> > SQL, but very usefull.
> >
> >
> What sort algorithm you use to order strings with length varying from 1
> to millions of chars?
>
>
> Adriano
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>


-- 
Jim Starkey
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to