Are there (significant) overheads for using structures?
Suppose we wish to store a very large number of facts like:
person(name(surname, firstname), date_of_birth(dd, mm, yyyy)).
Are the predicate names 'name' and 'date_of_birth' being stored repeatedly? Is it more efficient to flatten the structure to:
person(surname,firstname,dd,mm,yyyy)
Is indexing affected by the structure?
Also, do the overheads depend on the prolog implementation used?
Many thanks,
PJ
_________________________________________________________________
Get inspired - dream, research, plan and book your next holiday online with MSN NZ Travel
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Ftravel%2Emsn%2Eco%2Enz&_t=771497011&_r=MSN_NZ_travel_hmtagline&_m=EXT------------
For further info, please visit
http://www.swi-prolog.org/To unsubscribe, send a plaintext mail with "unsubscribe prolog <e-mail>"
in its body to
majordomo@...