General

Profile

ender672 (Timothy Elliott)

  • Login: ender672
  • Email: tle@holymonkey.com
  • Registered on: 01/02/2009
  • Last sign in: 06/19/2012

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

05/09/2012

06:13 AM Ruby Bug #6416 (Closed): Deadlock when calling Thread#join from signal interrupt context
=begin
The interpreter can deadlock when calling Thread#join both from the main context and from the signal handler context.
t = Thread.new{ sleep 3 }
Signal.trap "SIGINT" do
t.join
end
puts 'Press ctrl + c now'
...
ender672 (Timothy Elliott)

11/19/2010

05:54 AM Ruby Bug #4069: String#parse_csv fails to parse "\r" character embedded string
=begin
["aa\rbb"].to_csv results in the string "\"aa\rbb\"\n"

When you don't specify a row separator the ruby CSV library makes a guess by searching for the first occurrence of \r or \n.

In the case of "\"aa\rbb\"\n" it encoun...
ender672 (Timothy Elliott)

11/03/2010

11:42 AM Ruby Feature #4017: [PATCH] CSV parsing speedup
=begin
* Rename the limit to just read_limit

That name sounds good. I'll submit an updated patch with the better name.

* Default to using no limit

I didn't do a good job explaining how this patch uses the read_limit optio...
ender672 (Timothy Elliott)
09:43 AM Ruby Feature #4017 (Rejected): [PATCH] CSV parsing speedup
=begin
ruby_19_csv_parser_split_methods.patch
This patch breaks the CSV parser into multiple methods that are easier to understand and it allows for the performance optimizations in the second patch. It removes all regular expression...
ender672 (Timothy Elliott)

03/23/2010

04:16 PM Ruby Feature #1981: [PATCH] CSV Parsing Speedup
=begin
Patch attached.

Thanks,
Tim Elliott
=end
ender672 (Timothy Elliott)

03/20/2010

03:36 AM Ruby Feature #1981: [PATCH] CSV Parsing Speedup
=begin
I updated the patch to against trunk. Attaching to this ticket update.

I took care to make it pass all tests, including the m17n tests in test/csv/test_encodings.rb . I have not tested it against m17n CSV files outside of th...
ender672 (Timothy Elliott)

08/23/2009

04:44 AM Ruby Feature #1981 (Closed): [PATCH] CSV Parsing Speedup
=begin
This patch replaces the regex used in the Ruby 1.9 CSV parser with ruby code.

Running all CSV tests (ts_all.rb) is much faster (36% on my machine). Probably because they don't have to rebuild the regex over and over again. I...
ender672 (Timothy Elliott)

Also available in: Atom