Original case: https://pharo.fogbugz.com/f/cases/20527
Status: Work Needed
Project: Usability
Original Author: CyrilFerlicot
Date: 12 October 2017 12:56:54 pm
Description:
I see a lot of usage of #substrings: that could be replace by #splitOn: which is really faster in some applications.
Maybe we could make a rule checking the users of #substring: and if the parameter is a string of size 1 propose an automatic refactoring to #splitOn: or #split?
Migrated case from Manuscript.
Original case: https://pharo.fogbugz.com/f/cases/20527 Status: Work Needed Project: Usability Original Author: CyrilFerlicot Date: 12 October 2017 12:56:54 pm
Description:
I see a lot of usage of #substrings: that could be replace by #splitOn: which is really faster in some applications.
Maybe we could make a rule checking the users of #substring: and if the parameter is a string of size 1 propose an automatic refactoring to #splitOn: or #split?