Re: Ruby Future in coming years

2012-07-06 Thread Intransition
Is this spam? On Friday, July 6, 2012 3:04:55 PM UTC-4, akshay jangid wrote: > > Akshay Jangid wrote in post #1051602: > > hi > > Attachments: > http://www.ruby-forum.com/attachment/7573/stuff_for_future_intw.jpg > > > -- > Posted via http://www.ruby-forum.com/. > > -- You received this mes

Re: Green threads in 1.9.* ?

2012-07-06 Thread Robert Klemme
On Fri, Jul 6, 2012 at 8:52 AM, Ryan Davis wrote: > > On Jul 5, 2012, at 20:55 , Tony Arcieri wrote: > >> On Thu, Jul 5, 2012 at 8:24 PM, rex goxman wrote: >> I'm not sure if you are someone with reading-comprehension issues, or a >> troll. I will state (again) that I threw a "crappy" example ou

Re: Management of words in a string

2012-07-06 Thread Robert Klemme
On Fri, Jul 6, 2012 at 10:06 AM, Jan E. wrote: > Hi, > > Joao Silva wrote in post #1067618: >> As I can implement the above? > > For large text you may use String#scan, which has the advantage of not > collecting all words in an array like String#split does: word_count = 0 input_text.scan(/\w+/){