Performance improvements

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Version 5.9.0

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Update Gemfile.lock

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>