Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=74872

--- shadow/74872        2005-07-01 13:50:40.000000000 -0400
+++ shadow/74872.tmp.20441      2005-07-01 13:56:24.000000000 -0400
@@ -96,6 +96,15 @@
 
 ------- Additional Comments From [EMAIL PROTECTED]  2005-07-01 13:50 -------
 The patch works fine :-) but one thing am afraid is that it seems to
 create  too many string objects for every HexUnescapeMultiByte() call.
 So it might be even better not to return string for one character but
 to return resulting char (adding one more ref or out argument).
+
+------- Additional Comments From [EMAIL PROTECTED]  2005-07-01 13:56 -------
+The reason we return a string is because of the surrogate stuff -
+sometimes we might have to return two characters. Are you suggesting
+that we return the first character in the return value, and the second
+through a ref/out parameter?
+
+Another option is to return a char[] array, but I'm not sure how that
+rates in terms of efficiency against strings.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to