Please sign in to comment.
Use INT2FIX instead of LONG2NUM where the argument is hard coded
If it is hard coded, you know it will fit in a Fixnum, so INT2FIX is safe. Many other places in the library LONG2NUM is used where INT2FIX may also work, but I'd have to check each case to be sure.
- Loading branch information...