Skip to content
Snippets Groups Projects
  1. Sep 19, 2023
  2. Sep 13, 2023
  3. Dec 09, 2021
  4. Oct 26, 2020
  5. Jul 28, 2020
  6. Feb 04, 2020
  7. Dec 14, 2019
  8. Feb 01, 2019
  9. Sep 10, 2018
  10. Apr 16, 2018
  11. Nov 28, 2017
  12. Nov 27, 2017
  13. Sep 26, 2017
  14. Jul 30, 2017
  15. Mar 20, 2017
  16. Dec 14, 2016
  17. Nov 08, 2016
  18. Sep 28, 2016
  19. Jul 11, 2016
  20. Jun 29, 2016
  21. Jun 03, 2016
  22. Mar 11, 2016
  23. Mar 09, 2016
  24. Nov 29, 2015
  25. Oct 08, 2015
  26. Oct 07, 2015
  27. Sep 21, 2015
  28. Sep 09, 2015
  29. Aug 22, 2015
    • Gerhard Raven's avatar
      Modernize ParticlePropertySvc · e71d9b90
      Gerhard Raven authored
         - avoid repeated lookups
         - use more auto to simplify things
         - prefer boost::algorithm::trim_left_if over in-situ implementation
      e71d9b90
  30. Aug 19, 2015
  31. Aug 09, 2015
  32. Aug 04, 2015
  33. Jul 29, 2015
  34. Jul 27, 2015
  35. Jul 22, 2015
    • Gerhard Raven's avatar
      Modernize the ParticlePropertySvc / PartPropSvc · a64b913b
      Gerhard Raven authored
        - streamline constructors
        - prefer std::unique_ptr over raw pointer with new/delete
        - use auto / range-based loops to reduce "noise"
        - use nullptr instead of NULL
        - use 'override' instead of 'virtual' in derived classes
        - define a type for pointer to function to reduce "noise"
      a64b913b
  36. Jul 21, 2015
    • Gerhard Raven's avatar
      Optimize string handling · 8b943457
      Gerhard Raven authored
        - replace 'if (s.substr(a,b) = "ccc")' with 'if (s.compare(a,c,"ccc")==0)'
          which avoids creating a temporary string that is immediately thrown away again
        - used std::stoi(s) instead of ::atoi(s.c_str()), ditto for std::stod
        - replace s.substr(a,s.length()-a) and s.substr(a,s.length()) with s.substr(a)
      8b943457
  37. Jul 04, 2014
Loading