Hi Nick,
no, inline execution would be the only option right now, e.g. copy the library into a dash:IncludedScript. I am aware this is not ideal and we have a Jira ticket to make working with files (from the workspace) easier. But it won't happen in 7.2 which is ready for release very soon.
One problem is that adding libraries adds to the footprint of the
GraalVM that we use. Consider that you have dozens of asset
collections. For each Ontology in them, TopBraid will generate a
new ADS API, and I am not sure if GraalVM would optimize each copy
to reuse those building blocks. So any solution here would need to
optimize that.
Holger
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CAP7nqh0G_%3DLZRvDs1OHk3mNs_2W4N-m0xLijXUsdNr3Ks50tVQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/6d39cf59-35bd-4fac-9f43-879f3ff577b1n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/82186F09-F933-472C-B0EB-93243E8B152B%40topquadrant.com.
That's nice to hear! Did you notice any slow-downs when it had to
do the extra parsing of such a library (e.g. measure the request
response time of the Refresh button on the Script Editor panel)?
How big is the .js snippet that you have added? The ADS engine
needs to periodically rebuild those APIs, esp after ontology
changes.
Holger
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CAP7nqh1jHCa-i7H0AjfMPBLN6LRdW3m7sJPeYe%3DQbVC%3DG-XEDA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/78e7ecda-26a7-004e-f436-5d4c525b0c61%40topquadrant.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CAP7nqh2rvVfaXVAiYUOHrhGQAnhiY0vWJTRZm%3DBuQ%2Bj%2Bc9o6qg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/52A27763-FAFF-423C-8DBD-99E4F49A2670%40topquadrant.com.