[tmql-wg] Proposed requirements: Operations on primitive types

Lars Marius Garshol larsga@garshol.priv.no
24 Jul 2003 09:23:32 +0200

* dmitryv@cogeco.ca
| Explicit constructors/converters + ability to specify data type
| during TM authoring can help to increase query engine efficiency.

Hmmmm. Possibly. I agree that the more information the query processor
can infer at compile-time, the more efficient it can be. The question
is how much information explicit constructors add. To be honest, I'm
not sure of the answer.

I don't think there's any question that having type information in the
TM can help efficiency, but I think that's a job for TMCL.
| BTW, in this case efficient querying can be done even without TMCL
| if TM author uses "typed" data.

If you mean that the typed data is included directly in the TM, I
agree, but for literals in the query one can often infer the type from
the operations performed (or from the syntax of the literal).

Lars Marius Garshol, Ontopian         <URL: http://www.ontopia.net >
GSM: +47 98 21 55 50                  <URL: http://www.garshol.priv.no >