[Monetdb-developers] BATpreload_ and _BATpreload

Lefteris lsidir at gmail.com
Mon Feb 15 10:18:59 CET 2010


If I remember correct we have also some functions called BAThot and
BATcold. What is the difference there?

On Mon, Feb 15, 2010 at 10:12 AM, Stefan Manegold
<Stefan.Manegold at cwi.nl> wrote:
> On Mon, Feb 15, 2010 at 10:03:18AM +0100, Sjoerd Mullender wrote:
>> On 2010-02-15 09:57, Stefan Manegold wrote:
>> > On Sun, Feb 14, 2010 at 09:21:34PM +0100, Martin Kersten wrote:
>> >> Sjoerd Mullender wrote:
>> >>> I am quite unhappy with the names BATpreload, BATpreload_, and
>> >>> _BATpreload.  I really don't like names that differ only by an initial
>> >>> or final _.  I would much rather see more descriptive names.
>> >>> BATpreload_ is now more an interface to give advice to the underlying
>> >>> system about how the BAT is going to be accessed in the near future, and
>> >>> _BATpreload is telling the underlying system that you're done with
>> >>> accessing the BAT according to the advice given.  Names such as
>> >>> BATaccessadvice/BATendaccessadvice, though longer, are more descriptive.
>> >>>
>> >>> I have seen some checkins fixing the incorrect use of BATpreload_ and
>> >>> _BATpreload, proofing my point.
>> >>>
>> >>> Now we still have a chance to fix this.
>> >>>
>> >> I fully agree, but did not had the trigger to change it....
>> >
>> > I also more than agree --- what about
>> > BATaccessBegin() & BATaccessEnd() ?
>> >
>> > If noone else is "faster", I could apply the chnages later today ...
>>
>> That's good.  What about BATpreload (without _)?
>
> BATaccess() (i.e., without "Begin"/"End") ?
>
> The actual function should not be called directly, but only via the
> BATaccessBegin() / BATaccessEnd() macros.
>
> Stefan
>
>>
>> --
>> Sjoerd Mullender
>>
>
>
>
>> ------------------------------------------------------------------------------
>> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
>> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
>> http://p.sf.net/sfu/solaris-dev2dev
>
>> _______________________________________________
>> Monetdb-developers mailing list
>> Monetdb-developers at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
>
>
> --
> | Dr. Stefan Manegold | mailto:Stefan.Manegold at cwi.nl |
> | CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  |
> | 1090 GB Amsterdam   | Tel.: +31 (20) 592-4212       |
> | The Netherlands     | Fax : +31 (20) 592-4199       |
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> Monetdb-developers mailing list
> Monetdb-developers at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
>




More information about the developers-list mailing list