[Mono-dev] possible bug in ConcurrentDictionary

2012-11-15 Thread Debacker
. Consequently, two different keys with hash collision will be indistinguishable by SplitOrderedList. Key hash collisions are probably very rare, but it's not standard compliant. Regards, Laurent Debacker ___ Mono-devel-list mailing list Mono-devel-list

Re: [Mono-dev] possible bug in ConcurrentDictionary

2012-11-15 Thread Debacker
at 8:19 PM, Debacker deback...@gmail.com wrote: Hello, While reading the code of ConcurrentDictionary and SplitOrderedList, I believe I have identified an issue. In method ConcurrentDictionary.TryRemove, you'll see this line: bool result = internalDictionary.Delete (Hash (key), out data

Re: [Mono-dev] BitVector32 patch

2008-08-16 Thread Debacker
Hi Scott, I guess that the objective of your patch is to optimize things, isn't? So, why did you discard my idea? I have made a simple benchmark: On my x86 Linux system using 1.9.1, I get the following results: Benchmark 1 for(int i = 0 ; i 20 ; i += 10)

Re: [Mono-dev] BitVector32 patch

2008-08-16 Thread Debacker
Ok, but I didn't know that you wanted to change the current behavior of mono, especially since you said it matches the behavior of the .NET Framework. On Sat, Aug 16, 2008 at 10:53 AM, Scott Peterson [EMAIL PROTECTED]wrote: Laurent, As I said, it is necessary to know the size of the mask in

Re: [Mono-dev] BitVector32 patch

2008-08-06 Thread Debacker
/#Most%20Significant%201%20Bit No loop, no branch miss-predictions, looks fine to me. Laurent Debacker. 2008/8/6 Scott Peterson [EMAIL PROTECTED] Thanks Rodrigo. I'll split the patch up tomorrow (almost my bed time). My replies are inline. @@ -84,14 +84,12 @@ public override int

Re: [Mono-dev] BitVector32 patch

2008-08-06 Thread Debacker
Sorry I copy pasted the bug of Scott, the suggestion made by Rodrigo would become int mask = MostSignificantBit(maxValue); mask |= mask - 1; Or just int mask = (MostSignificantBit(maxValue) 1) - 1 depending how the JIT optimizes the former. Laurent. On Wed, Aug 6, 2008 at 7:55 PM, Debacker

Re: [Mono-dev] N3: a CLI implementation with MVM and LLVM

2008-06-26 Thread Debacker
In addition, pnetlib is licensed under the GPL while LLVM is licensed under a MIT like license. Combining two MIT licensed software would make more sense. Laurent Debacker. On Thu, Jun 26, 2008 at 8:00 PM, Geoff Norton [EMAIL PROTECTED] wrote: N3 would be far more interesting to this community

[Mono-dev] No tail call optimization for virtual calls

2008-06-21 Thread Debacker
? The reason why I would like to play with this is simple: continuations experiments. I just thought about that yesterday, and I wanted to know whether it would be feasible or not. Regards, Laurent Debacker. TailCall2.il Description: Binary data ___ Mono-devel

Re: [Mono-dev] Migrating Mono 2.0. Crossplatform GUI components.

2008-05-19 Thread Debacker
Hi, Is the GUI part of Plastic SCM free/open-source? I only see marketing for your commercial package, which is a bit overskill if someone wants your widgets only. Regards, Laurent Debacker. On Sun, May 18, 2008 at 11:38 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, We've developed

Re: [Mono-dev] Mono 1.9.0 Preview 1+ is out!!

2008-02-03 Thread Laurent Debacker
Hi Przemyslaw, There is no way that the developers working on asp.net will find the bug if you just say that it segs fault. Thomas gave a link to http://www.mono-project.com/Bugs especially to help users provide good bug reports. The minimum would be to provide the stack trace, at least.

[Mono-dev] Mono Debugger - Master Thesis

2007-01-23 Thread Laurent Debacker
managed applications would be possible, or how to enhance the typed ASM to support debugging. Thanks for your help. Regards, Laurent Debacker. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono