Re: [Mono-dev] Trivial Enumerable Optimizations

2008-05-10 Thread Jb Evain
Hey, Sorry, I reviewed this patch on IRC, and should have done it here. On 5/9/08, Jonathan Pryor <[EMAIL PROTECTED]> wrote: > Thoughts? My point was that basically, there's no any way to make sure that Count will throw if the collection has more than int.MaxValue items. So the only optimizable

[Mono-dev] Problem enabling Release Configuration in Monodevelop

2008-05-10 Thread Travis Miller
I just freshly installed Ubuntu 8.04 on my desktop (not an upgrade). Mondevelop runs fine except for one problem. When I try to switch from Debug to Release Configuration under options for a project all it says is "Rmove" or "Rename" in reference to the configuration. It used to be that right cli

[Mono-dev] Removing unsafe code in BitConverter and speedups

2008-05-10 Thread Alan McGovern
Hi, I did some work on BitConverter.cs which accomplishes the following: 1) Removed all unsafe code, everything is managed now 2) Improved performance of DoubleToInt64Bits and Int64BitsToDouble pretty significantly, about 2.5x faster. I'd say this is mostly because this implementation doesn't cre

[Mono-dev] Program not able to exit after using MySql-Connector

2008-05-10 Thread Clas Rurik
Hopefully this question was not asked before but during my efforts to connect to a mysql database I encountered a problem. After a connection has been established the program is not able to quit anymore. At the end of the Main-Method it simply keeps running. The following sample code is not able

[Mono-dev] _wapi_thread_set_termination_details Error

2008-05-10 Thread Dominic Plouffe
Hello, I'm doing a port of a server I wrote in c#, .Net 2.0 to Mono 1.9.1. The server makes heavy use of timers/threads which repeat a process every so often. After the server has been running for about 12 hours, I start getting these errors: _wapi_thread_set_termination_details caught by System.

Re: [Mono-dev] _wapi_thread_set_termination_details Error

2008-05-10 Thread Geoff Norton
Dominic, On Sat, 2008-05-10 at 21:59 -0400, Dominic Plouffe wrote: > I'm doing a port of a server I wrote in c#, .Net 2.0 to Mono 1.9.1. > The server makes heavy use of timers/threads which repeat a process > every so often. After the server has been running for about 12 hours, > I start getting t

[Mono-dev] Secret Instructions and their Terrible Purpose

2008-05-10 Thread Scott Peterson
ScopeInitializer.DoEmitStatement (mcs/anonymous.cs line 820): ec.ig.Emit (OpCodes.Nop); ec.ig.Emit (OpCodes.Ldc_I4, id); ec.ig.Emit (OpCodes.Pop); ec.ig.Emit (OpCodes.Nop

Re: [Mono-dev] Secret Instructions and their Terrible Purpose

2008-05-10 Thread Raja R Harinath
Hi, "Scott Peterson" <[EMAIL PROTECTED]> writes: > ScopeInitializer.DoEmitStatement (mcs/anonymous.cs line 820): > > ec.ig.Emit (OpCodes.Nop); > ec.ig.Emit (OpCodes.Ldc_I4, id); > ec.ig.Emit (OpCodes.Pop); >