calmm-js / partial.lenses

Partial lenses is a comprehensive, high-performance optics library for JavaScript
MIT License
915 stars 36 forks source link

Specialize select over elems #94

Closed polytypic closed 7 years ago

polytypic commented 7 years ago

This seems to roughly double the speed of selectAs over elems. The optimization applies to all current lazy folds.

codecov-io commented 7 years ago

Codecov Report

Merging #94 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #94   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines         755    759    +4     
=====================================
+ Hits          755    759    +4
Impacted Files Coverage Δ
dist/partial.lenses.cjs.js 100% <0%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5a02232...82164ba. Read the comment docs.