[Mono-devel-list] Patch for System.Text.RegularExpressions
Juraj Skripsky
js at hotfeet.ch
Wed Nov 19 17:13:03 EST 2003
Hello,
Attached is a patch for System.Text.RegularExpression.QuickSearch and a
new test case (which goes into
class/System/Test/System.Text.RegularExpressions).
This will also reduce memory consumption quite a bit when using regular
expressions.
* quicksearch.cs: Use hashtable instead of array (which should have had
size 0x10000 instead of 0x1000 in the first place) for shift table.
* RegexTest.cs: New test case using a string containing a character >
0x1000.
Should I send future ChangeLog entries as diffs as well?
---
Juraj Skripsky <juraj at hotfeet.ch>
HotFeet - developing the web
Technopark Zurich
Switzerland
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quicksearch.cs.patch
Type: text/x-patch
Size: 1649 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031119/1d89724a/attachment.bin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: RegexTest.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031119/1d89724a/attachment.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: System_test.dll.source.patch
Type: text/x-patch
Size: 547 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031119/1d89724a/attachment-0001.bin
More information about the Mono-devel-list
mailing list