If you really want to delete items from existing array, it makes sense to do it with linked list. I suspect that deleting item from ruby array shifts the other elements to occupy the empty slot?
Achievements
59
Karma
3,807
Total ProTip Views
Charity
Fork and commit to someone's open source project in need
Mongoose
Have at least one original repo where Ruby is the dominant language
It hangs though on wakeup.
I think it's better to handle parameters in form class. What do you think?
Thanks, thenickperson. I'd follow that recommendation.
Will it be as efficient as #reject! method?
If you really want to delete items from existing array, it makes sense to do it with linked list. I suspect that deleting item from ruby array shifts the other elements to occupy the empty slot?