You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you for working hard to bring BCrypt to Ruby! I apologize if this is not the appropriate place for suggestions. However, is there any way to turn off the hashing so that the cost is truly zero? This is not meant for production of course, but for spec performance improvements. I understand the algorithm has a minimum, but is there the possibility of a return here ?
Disabling the cost entirely defeats the point of even running the test in the first place, imo. I would recommend setting the cost in your test suite to be the current minimum (4) instead, which has the benefit of increasing spec speeds without the risk or potential complications of removing the cost entirely.
Activity
jensljungblad commentedon May 20, 2020
Wondering the same thing!
joshbuker commentedon Mar 29, 2021
Disabling the cost entirely defeats the point of even running the test in the first place, imo. I would recommend setting the cost in your test suite to be the current minimum (4) instead, which has the benefit of increasing spec speeds without the risk or potential complications of removing the cost entirely.