comp.lang.ada
 help / color / mirror / Atom feed
From: brbarkstrom@gmail.com
Subject: Re: Question on bounded / unbounded strings
Date: Mon, 26 Sep 2016 05:39:04 -0700 (PDT)
Date: 2016-09-26T05:39:04-07:00	[thread overview]
Message-ID: <4fe41881-1dc4-4381-9246-27f86c49186d@googlegroups.com> (raw)
In-Reply-To: <nsaio3$1eav$1@gioia.aioe.org>

On Monday, September 26, 2016 at 3:29:20 AM UTC-4, Dmitry A. Kazakov wrote:
> 
> > I expect Dimitry wouldn't like putting Bounded_Strings into
> > Direct_IO files, where they're useful for fields in records that act like
> > variable length character strings in databases.
> 
> Surely not. Bounded string is a private type (A.4.4).
> 
> You *never* use such for any external activity, that would make your 
> program non-portable and thus the DB too.
> 
> Therefore a text field of Direct_IO element record should always be a 
> subtype of String and never bounded or unbounded string.
> 
> BTW, in many cases it is better to use Direct_IO rather as a block I/O 
> medium. You never know if all application level objects would fit into a 
> single block. My implementation of external B-trees keeps tree nodes in 
> Direct_IO blocks with indices pointing to the blobs spread over other 
> blocks arranged as a persistent memory pool. So there is no limitation 
> to how large an item could be and no space loss of underfilled blocks.
> 
> -- 
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de

I wouldn't copy a Direct_IO file from my Windows machine to my
Linux box and expect to use it without reconstructing the file.  But then
I'm not working in a corporate environment with heterogeneous systems.
I've got enough problems with getting the math in the algorithms to work
properly, whether doing critical path calculations or Bayesian analysis
of user properties.

Thanks for the interest, even so.

Bruce B.


  reply	other threads:[~2016-09-26 12:39 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-13  8:46 Question on bounded / unbounded strings Arie van Wingerden
2016-09-13  9:04 ` Dmitry A. Kazakov
2016-09-22  2:10   ` John Smith
2016-09-22  7:24     ` Dmitry A. Kazakov
2016-09-22  9:01       ` J-P. Rosen
2016-09-22  9:53         ` Dmitry A. Kazakov
2016-09-22 10:58           ` G.B.
2016-09-22 12:05             ` Dmitry A. Kazakov
2016-09-22 14:14               ` G.B.
2016-09-22 17:18                 ` Dmitry A. Kazakov
2016-09-22 11:08           ` J-P. Rosen
2016-09-22 12:05             ` Dmitry A. Kazakov
2016-09-22 13:18           ` Maciej Sobczak
2016-09-22 13:52             ` Dmitry A. Kazakov
2016-09-22 14:51               ` Maciej Sobczak
2016-09-22 17:13                 ` Dmitry A. Kazakov
2016-09-23  5:50                   ` Maciej Sobczak
2016-09-23  6:36                     ` Simon Wright
2016-09-23  7:48                       ` Dmitry A. Kazakov
2016-09-28 20:55                     ` Randy Brukardt
2016-09-23 23:58       ` John Smith
2016-09-24  7:52         ` Dmitry A. Kazakov
2016-09-24 16:25           ` John Smith
2016-09-24 17:44             ` Dmitry A. Kazakov
2016-09-24 18:33               ` John Smith
2016-09-24 18:37               ` John Smith
2016-09-24 18:59               ` John Smith
2016-09-25  8:50                 ` Dmitry A. Kazakov
2016-09-25 23:35                   ` brbarkstrom
2016-09-26  7:28                     ` Dmitry A. Kazakov
2016-09-26 12:39                       ` brbarkstrom [this message]
2016-09-28 21:09             ` Randy Brukardt
2016-09-30  7:59               ` Björn Lundin
2016-09-13  9:35 ` gautier_niouzes
2016-09-13 10:41 ` Alejandro R. Mosteo
2016-09-13 17:41 ` Jeffrey R. Carter
2016-09-13 17:59 ` Björn Lundin
2016-09-14 11:23 ` Arie van Wingerden
2016-09-14 12:26   ` Arie van Wingerden
2016-09-14 12:28   ` Arie van Wingerden
2016-09-14 12:57 ` Arie van Wingerden
2016-09-14 19:39   ` Jeffrey R. Carter
2016-09-17 16:35     ` Arie van Wingerden
2016-09-16 14:43 ` Olivier Henley
2016-09-17 16:35   ` Arie van Wingerden
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox