There seem to be some low-hanging fruit there. Actually I did some
optimizations some years ago, but some were rejected because of possible
code bloat.
Here are some things in the current implementation that could likely be
improved:
1) ToString calls FormatGeneral, which is the most complex
Hi all,
Please review this fix.
SystemUri.patch
Description: SystemUri.patch
SystemTestUri.patch
Description: SystemTestUri.patch
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
[EMAIL PROTECTED] wrote:
Hi:
I know that is very possible that this is a basic remoting question, but
I read some info about the native .NET approach used with remoting and I
think that my code is supose it to work:
I write a class with a method to trigger some event (this is the object
Please review the patch for default case insensitive comparison in
HybridDictionary. (Should be ordinal and not invariant).
Index: Test/System.Collections.Specialized/HybridDictionaryTest.cs
===
---
The Dictionary.CopyTo appears to miss the public qualifier, thus
making it impossible for client code to make use of this method.
--
Antti
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
Hello,
On Sun, 2007-11-25 at 14:45 +0200, Antti S. Lankila wrote:
The Dictionary.CopyTo appears to miss the public qualifier, thus
making it impossible for client code to make use of this method.
It explicitly implements copy to in line 643 and 653. So CopyTo is
publicly available. If you
Valentin Sawadski wrote:
It explicitly implements copy to in line 643 and 653. So CopyTo is
publicly available. If you refer to the CopyTo at line 275, this is
being called by the explicit implementation of it.
*Sigh*. Let this test program demonstrate:
[EMAIL PROTECTED]:~/mono-hacks%
Thats invalid code. If you want to access the 'CopyTo' method, you have to
cast the dictionarystring, object as an ICollectionKeyValuePairstring,
object.
Alan.
*Sigh*. Let this test program demonstrate:
[EMAIL PROTECTED]:~/mono-hacks% gmcs bug.cs -o bug.exe
warning CS8029: Compatibility:
On Nov 25, 2007 2:14 PM, Alan McGovern [EMAIL PROTECTED] wrote:
Thats invalid code. If you want to access the 'CopyTo' method, you have to
cast the dictionarystring, object as an ICollectionKeyValuePairstring,
object.
As MSDN states:
http://msdn2.microsoft.com/en-us/library/1e8ecdh9.aspx
Alan McGovern wrote:
Thats invalid code. If you want to access the 'CopyTo' method, you
have to cast the dictionarystring, object as an
ICollectionKeyValuePairstring, object.
Alan.
Oh. Thanks for enlightening me.
Sorry for troubling you.
--
Antti
Is posible to create a binary representation of an object in memory with
some serialization and transmit the bytes[] of the object with remoting
and in the other side re-build the object with his bytes?, or I crazy :-S
.
Euan MacInnes wrote:
Hi Mauricio,
One option to do this is to
Thanks Robert, I very confuse with this, becouse I read a lote of
diferent approach (event broadcast engines, shared objects, etc) to do
this, but most of them don't work :-S , I wondore if you have a simple
working example of the correct way to do this?
in advance, thank you very much.
Hi,
[EMAIL PROTECTED] wrote:
Thanks Robert, I very confuse with this, becouse I read a lote of
diferent approach (event broadcast engines, shared objects, etc) to do
this, but most of them don't work :-S , I wondore if you have a simple
working example of the correct way to do this?
Assuming you're doing something similar to the following (pixel depth may vary,
this assumes 32 bit):
IplImage* img=cvCreateImage(cvSize(640,480),IPL_DEPTH_32F,3);
Then you can access the image as an array like so:
RgbImageFloat imgA(img);
imgA[i][j].b = 111;
imgA[i][j].g = 111;
imgA[i][j].r
14 matches
Mail list logo