File: dat_alg/String.hpp
Line: 1434 (and following lines)
The method String::replace() uses substring() to create a string that the target is compared with (line 1444). This is inefficient, because substring() creates a new instance of String each time. It would be more efficient to use logicalSubstring().
File: dat_alg/String.hpp Line: 1434 (and following lines)
The method String::replace() uses substring() to create a string that the target is compared with (line 1444). This is inefficient, because substring() creates a new instance of String each time. It would be more efficient to use logicalSubstring().