Re: Preserving query data in foreign interface

Paul Singleton <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Organization Jambusters Ltd
Message-ID <[email protected]>
On 11/08/2013 17:05, Abramo Bagnara wrote:

> Are there simpler (and cheaper when returned data is *big*) way than the
> one described above?

If you are uninterested in the internals of these large terms, but 
just need to stick several of them into a structure and pass them 
back, consider passing them by reference rather than by value; stash 
them Prolog-side into e.g. the term database, and pass surrogates to 
and from Java?

Paul Singleton
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.