Re: Small feature request for future EU versions
- Posted by "Juergen Luethje" <j.lue at gmx.de> Oct 22, 2004
- 674 views
Derek Parnell wrote: > Juergen Luethje wrote: <snip> >> That's why they are useless for text written in many languages other >> than Englisch. That is strange for a product, that is intended for >> international use, especially because it is very easy to write better case >> conversion routines. >> Case conversion routines written without using the operators in the >> manner mentioned above are also faster. That's why RDS themselves don't >> use their own library routines for case conversion, when speed is >> important (Euphoria/bin/guru.ex, Euphoria/bin/search.ex) ... > > I didn't think that would be the case, but I just tested a simple lookup > table approach to case conversion and it runs in 75% of the time that > lower() uses. I use personally a modified version of RDS' fast_lower() (URL might wrap): http://www.listfilter.com/cgi-bin/esearch.exu?fromMonth=9&fromYear=9&toMonth=9&toYear=9&postedBy=Juergen+Luethje&keywords=lower Applied to the whole text in Euphoria/Doc/Library.doc, it runs in 50% of the time that lower() uses. Regards, Juergen