Does first argument indexing still work if the first argument is a string?
- From: "roschler" <robert.oschler@xxxxxxxxx>
- Date: 15 Sep 2006 10:16:30 -0700
If I have a predicate with a ton of facts and the facts have a string
as the first argument like this example:
db('First Argument', a, b).
db('#Some Argument', a, b).
....
When I do a query such as:
?- db('First Argument', X, Y).
Will I lose the speed benefit of first argument indexing since the
first argument of db/3 is a string and not an atom?
Thanks.
.
- Follow-Ups:
- Re: Does first argument indexing still work if the first argument is a string?
- From: Jan Wielemaker
- Re: Does first argument indexing still work if the first argument is a string?
- Prev by Date: SWI not evaluating expression
- Next by Date: Re: Does first argument indexing still work if the first argument is a string?
- Previous by thread: SWI not evaluating expression
- Next by thread: Re: Does first argument indexing still work if the first argument is a string?
- Index(es):
Relevant Pages
|
|