develooper Front page | perl.perl6.language | Postings from June 2001

Re: Multi-dimensional arrays and relational db data

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
June 12, 2001 14:19
Subject:
Re: Multi-dimensional arrays and relational db data
Message ID:
5.1.0.14.0.20010612170319.020b5328@24.8.96.48
At 02:07 PM 6/12/2001 -0500, David L. Nicol wrote:
>Dan Sugalski wrote:
>
> > I'm still trying to formulate a good set of rules on how I think active
> > data should perform under optimization to pass on to Larry.
> >
>
>How about, Active data doesn't get optimized.  Static data doesn't
>care if you access ir or not, and most data is static, is not
>burdened with "magic" that makes it send home a post card every time
>someone looks at it.

That's less easy than you might think. Quick:

   $foo = bar();

is $bar active or not? Or:

    my $foo;
    if ($bar) {
      tie $foo, Bar;
    }

how about then?

This is a considerably less simple problem than you (and *definitely* I) 
might like. :(

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About