Closed Salakar closed 8 years ago
Hi @Salakar sorry I just realised I completely forgot to reply over on Gitter. This is awesome, thanks for putting this PR together! Travis seems happy, so I'll just check this quickly myself and then get this out as 1.5.2
@jbt no worries, I should've done a PR in the first place ;p
Merged and published as 1.5.2, thanks @Salakar! :+1:
Recently wrote a faster double ended queue implementation here - I've switched out the 'double-ended-queue' dependency for this as it's considerably faster (maintains compatibility with api and node versions and 100% coverage - so nothings changed there)
(and added benchmarks in the process) \o/
Before switch

After switching to 'denque'
Ran the benchmarks several times, with denque is always faster. Couple of other performance tweaks that can be done on this repo - but i'll do a separate PR for that.