GitHub user KellenSunderland opened a pull request:
https://github.com/apache/incubator-joshua/pull/65
This PR is a first attempt to minimize ngram array copies by utilizing
DirectBuffers.
This is a work in progress but posted so that Matt + Ken can review (and do
some speed comparisons).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/KellenSunderland/incubator-joshua master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-joshua/pull/65.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #65
----
commit eadfdf3d09bea43fa3af6c664a7f8944b0cc8f86
Author: Kellen Sunderland <[email protected]>
Date: 2016-09-15T17:06:04Z
Convert to a DirectBuffer to transfer ngrams during probRule
commit 3917d8503659dd4ac3a55b3181ecb07f32b067da
Author: Kellen Sunderland <[email protected]>
Date: 2016-09-15T17:30:22Z
Merge branch 'master' of https://github.com/apache/incubator-joshua
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---