Open Kermalis opened 3 years ago
Here, the now date should be passed in as a second parameter: https://github.com/spion/triplie-ng/blob/master/lib/pipeline/associate.js#L160 You can see that the ts param is never being given a value https://github.com/spion/triplie-ng/blob/master/lib/pipeline/associate.js#L160
now
ts
So context is completely broken.
Side not unrelated to this issue, you are fetching keywords(words) three times, resulting in massive overhead: https://github.com/spion/triplie-ng/blob/master/lib/pipeline/associate.js#L160 My C# port is working incredibly faster from just passing keys instead of fetching the 2nd and 3rd time.
keywords(words)
keys
Here, the
now
date should be passed in as a second parameter: https://github.com/spion/triplie-ng/blob/master/lib/pipeline/associate.js#L160 You can see that thets
param is never being given a value https://github.com/spion/triplie-ng/blob/master/lib/pipeline/associate.js#L160So context is completely broken.
Side not unrelated to this issue, you are fetching
keywords(words)
three times, resulting in massive overhead: https://github.com/spion/triplie-ng/blob/master/lib/pipeline/associate.js#L160 My C# port is working incredibly faster from just passingkeys
instead of fetching the 2nd and 3rd time.