/[eiffelstudio]
ViewVC logotype

Revision 91531


Jump to revision: Previous Next
Author: manus_eiffel
Date: Fri Oct 12 23:20:35 2007 UTC (12 years, 4 months ago)
Changed paths: 4
Log Message:
Optimized `to_xxx' routines by not doing the overflow checking since the precondition guarantees it.
Minor other optimizations. Overall we go from about 16s down to 9s on my machine doing 20M call to
`to_integer' on the same strings. Other optimizations are possible, but they would required some
code duplication. For information, the simple implementation of 5.6 was only taking 2s for the same test.


Changed paths

Path Details
DirectoryFreeELKS/trunk/library/kernel/integer_overflow_checker.e modified , text changed
DirectoryFreeELKS/trunk/library/kernel/string_32.e modified , text changed
DirectoryFreeELKS/trunk/library/kernel/string_8.e modified , text changed
DirectoryFreeELKS/trunk/library/kernel/string_to_integer_convertor.e modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.23