On 2/4/20 12:43 PM, Richard Gaskin via use-livecode wrote:
J. Landman Gay wrote:
On 2/3/20 2:19 PM, hh via use-livecode wrote:
Parse1 is here always at least 30% faster than Parse2.

I'm seeing the same thing, only more so. I searched for "the" in a 424K text 
file:

parse1 = 11 ms
parse2 = 111 ms

Hmmm....  It may be that Mark Waddingham was wrong in the guidance he gave earlier about Unicode vs memcopy, but I wonder if there may be something else here.

Were you using the same text I tested with, the Gutenberg text file for "Call of the 
Wild"?

https://www.gutenberg.org/files/215/215-0.txt


I just tried that file. This is a shorter file than the one I used before. This looks like the two are almost equal, with parse1 coming out slightly ahead. Here are a string of results, the first item in each row is parse1 and the second item is parse2:

2,3
2,3
3,2
2,3
2,3
3,2
2,3
3,2
2,3
3,3
3,2
2,3
2,3
2,4
3,3
3,3
2,2
2,3

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to