Open dcnorris opened 3 years ago
(I can confirm, however, that build works on master
branch.)
This now works in rebis-dev
also. I internalized the num-rug-adapter
crate, similarly to what we now do with prolog-parser
.
I can confirm this works, including with --release
.
I do note however a much worsened performance on a DCG phrase_from_file/2
application (top is with this recent build):
%?- once(time(translate_tables)).
%@ Loading studies...
%@ Loading design_groups...
%@ Loading interventions...
%@ Loading intervention_aliases...
%@ % CPU time: 140.769 seconds
%@ % CPU time: 140.776 seconds
%@ true.
%@ Loading studies...
%@ Loading design_groups...
%@ Loading interventions...
%@ Loading intervention_aliases...
%@ % CPU time: 15.588 seconds
%@ % CPU time: 15.633 seconds
%@ true.
I can no longer reproduce the shorter timing, even by systematically checking out versions of the repo back to early Dec 2020. (I have not tried reverting Rust libs, however.) Glad to see this issue closed.
cc @malbarbo