juliangruber / juliangruber/intersect

Faster implementation

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
32
Forks
8
PR merge metrics
No merged PRs in 30d

Description

In case you are interested, I just published a faster implementation of the same algorithm: [lovasoa/fast_array_intersect](https://github.com/lovasoa/fast_array_intersect).

Here are the things you could improve in your version :
- Fill the initial map using the smallest of the arrays, not the first
- iterate over arrays using `for(var i=0; i

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.