-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Array read / modify performance issue #119
Comments
@gcanti have you looked into this? Write perf is still bad (32sec) |
@Lonli-Lokli added a benchmark for starters |
Can you add optics-ts to benchmark as well? |
this is the only optimization I can think of.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Bug report
I need to pick an optics lib for a project. I continued to evaluate optics libs and narrowed down to 3:
I ran another round of performance test on array and found out monocle-ts' array read / modify by prism predicate is slow compared to the others. Modify is especially slow.
Did my benchmark code do something wrong or monocle-ts' array read / modify by Prism predicate needs some optimization?
Here is the result and code:
result
code for Jest
Your environment
Which versions of monocle-ts are affected by this issue? Did this work in previous versions of monocle-ts?
The text was updated successfully, but these errors were encountered: