Evaluating user-defined conditions

Avishalom Shalit avishalom at gmail.com
Tue Jun 10 13:35:47 BST 2014


i can't help but repost this

http://xkcd.com/327/

-- vish



On 10 June 2014 07:26, Roger Bell_West <roger at firedrake.org> wrote:

> On Tue, Jun 10, 2014 at 11:59:57AM +0100, Chris Jack wrote:
> >Can I suggest you consider including some rudimentary idea of "cost"
> >when you're deciding whether to allow the query to run or not. "Cost"
> >could be in terms of anticipated rows returned and/or total
> >anticipated CPU time.
>
> Yeah, it shouldn't be that hard to write code to evaluate an
> expression and work out how long it'll take to run.
>
> :-)
>
> R
>


More information about the london.pm mailing list