Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upselectn seems to be faster than json-path for path parsing #210
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I upgraded from 3.x to 5.x and initially took the easy way out of
npm install selectn, as suggested, for path parsing. More recently, I got around to looking into usingjson-pathinstead, and noticed that it takes between 1.2 and 3x as long, depending on the number of evaluations being performed!Is this expected? Is there any drawback to sticking with
selectn? Happy to provide exact rules and code if required.v5.0.3
Node.js 12.9