calamitas (Peter Vanbroekhoven)
- Login: calamitas
- Email: calamitates@gmail.com
- Registered on: 03/20/2009
- Last sign in: 02/24/2012
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
06/11/2014
-
02:31 PM Ruby Bug #9932: Permutation - Segment fault
- On Wed, Jun 11, 2014 at 1:12 PM, <tak2siva@gmail.com> wrote:
> Execute the following program with the inputs
>
> ~~~ruby
> ######################################################################################
> # hash.rb
...
10/23/2011
-
08:39 PM Ruby Bug #5473 (Closed): Raise in method_missing causes infinite loop
- =begin
The following code causes an infinite loop:
class ::Object
def method_missing(m, *a, &b)
raise ArgumentError.new("haha")
end
end
1.foo
This is due to the raise calling (({to_str})) on the ...
10/03/2011
-
04:15 PM Ruby Feature #5378: Prime.each is slow
- Note that the primes_up_to method Mike posted is not quite optional in that the intended optimization in the form of the reject doesn't do anything. The reject is executed before the loop and so the loop is still executed for all numbers...