Hi!
Can anyone comment on the performance of static multifile predicates on CIAO when compared with "single file" static predicates? Can the same performance be expected? Does multifile predicates support first-argument indexing? What happen when a new file is loaded which add an additional clause for a multifile predicate? Is re-indexing automatic? I'm looking at the feasibility of eliminating most meta-calls which occurs when processing a message in Logtalk. The solution which I'm planning uses multifile static predicates.
Cheers,
Paulo
----------------------------------------------------------- Paulo Jorge Lopes de Moura Dep. of Informatics Office 4.3 Ext. 3257 University of Beira Interior Phone: +351 275319700 6201-001 Covilhã Fax: +351 275319891 Portugal
mailto:pmoura(a)di.ubi.pt http://www.di.ubi.pt/~pmoura http://www.logtalk.org -----------------------------------------------------------
============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------
Dear Paulo,
The performance of static multifile predicates in Ciao, when an executable is done, is about the same as "single file" static predicates. However, when loading files "on the fly", for example at the top-level, as some compilation tricks need to be done so that the multifile clauses of a file are deleted when reloading it, a slow-down should be expected.
Regards,
Daniel
============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------
On 30/jun/2004, at 18:40, Daniel Cabeza Gras wrote:
Dear Paulo,
The performance of static multifile predicates in Ciao, when an executable is done, is about the same as "single file" static predicates. However, when loading files "on the fly", for example at the top-level, as some compilation tricks need to be done so that the multifile clauses of a file are deleted when reloading it, a slow-down should be expected.
Thanks for your feedback.
Cheers,
Paulo
P.S ciao-1.9p351 seams to be broken: lots of error messages regarding comment directives when I try to compile it.
----------------------------------------------------------- Paulo Jorge Lopes de Moura Dep. of Informatics Office 4.3 Ext. 3257 University of Beira Interior Phone: +351 275319700 6201-001 Covilhã Fax: +351 275319891 Portugal
mailto:pmoura(a)di.ubi.pt http://www.di.ubi.pt/~pmoura http://www.logtalk.org -----------------------------------------------------------
============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------