1. 12 Mar, 2019 1 commit
  2. 21 Dec, 2018 1 commit
    • Simon Gene Gottlieb's avatar
      Fix float precision (#649) · abf941b2
      Simon Gene Gottlieb authored
      The issue is that numbers like
      2.01 or 3.01 can not be precisely represented with binary floating point
      numbers.
      
      This replaces all occurrences of 'std::numeric_limits<T>::digits10 + 1' with
      'std::numeric_limits<T>::max_digits10'.
      
      Background:
      Using 'std::numeric_limits<T>::digits10 + 1' is not precise enough.
      Converting a 'float' into a 'string' and back to a 'float' will not always
      produce the original 'float' value. To guarantee that the 'string'
      representation has sufficient precision the value
      'std::numeric_limits<T>::max_digits10' has to be used.
      abf941b2
  3. 23 Nov, 2018 1 commit
  4. 25 Sep, 2018 1 commit
  5. 23 Sep, 2018 1 commit
  6. 04 Sep, 2018 1 commit
  7. 03 Sep, 2018 2 commits
  8. 03 Jul, 2018 1 commit
  9. 30 Jun, 2018 1 commit
  10. 14 May, 2018 1 commit
  11. 24 Mar, 2018 1 commit
  12. 28 Jan, 2018 1 commit
  13. 25 Jul, 2017 1 commit
  14. 13 Dec, 2016 1 commit
  15. 03 Dec, 2016 3 commits
  16. 02 Dec, 2016 1 commit
  17. 12 Oct, 2016 2 commits
  18. 18 Aug, 2016 1 commit
  19. 18 Jul, 2016 1 commit
    • c0nk's avatar
      Change node_map type from map<ptr,ptr> to vector<pair<ptr,ptr>> (#386) · f0b15cd6
      c0nk authored
      * Change node_map type from map<ptr,ptr> to vector<pair<ptr,ptr>>
      
      Map nodes are now iterated over in document order.
      
      * Change insert_map_pair to always append
      
      Always append in insert_map_pair even if the key is already present.
      This breaks the behavior of force_insert which now always inserts KVs
      even if the key is already present. The first insert for duplicated keys
      now takes precedence for lookups.
      f0b15cd6
  20. 13 May, 2016 5 commits
  21. 02 Apr, 2016 1 commit
  22. 01 Apr, 2016 1 commit
  23. 31 Jan, 2016 2 commits
    • Scott Wolchok's avatar
      Avoid copying cached RegExes for scalars · 005a6a19
      Scott Wolchok authored
      This improves performance on the test.yaml attached to #158 by about
      25% on my machine as compared to the previous commit (0.25s -> 0.20s),
      as measured by `time build/util/parse < test.yaml > /dev/null`.
      005a6a19
    • Scott Wolchok's avatar
      Cache scalar regexes · 8c35a8ff
      Scott Wolchok authored
      This improves performance on the test.yaml attached to #158 by about
      35% on my machine (0.39s -> 0.25s), as measured by
      `time build/util/parse < test.yaml > /dev/null`.
      8c35a8ff
  24. 11 Jan, 2016 1 commit
    • Matt Blair's avatar
      Replace Boost usage with C++11 features · 24fa1b33
      Matt Blair authored
       - Adds 'std=c++11' compiler flags
       - Replaces boost::type_traits with std::type_traits
       - Replaces boost::shared_ptr with std::shared_ptr
       - Replaces std::auto_ptr with std::unique_ptr
       - Replaces raw pointers with std::unique_ptr in ptr_vector, ptr_stack, and SettingChanges
       - Replaces boost::noncopyable with deleted copy and assignment operators
       - Replaces boost::next with std::next
       - Replaces boost::enable_if with std::enable_if
       - Replaces boost::is_convertible with std::is_convertible
       - Replaces ptrdiff_t with std::ptrdiff_t
       - Replaces boost::iterator_facade and boost::iterator_adaptor with std::iterator, borrowing the 'proxy reference' technique from boost
       - Removes Boost dependency from CMakeLists
       - Formats changed files using clang-format
      24fa1b33
  25. 10 Jan, 2016 1 commit
  26. 02 Apr, 2015 1 commit
  27. 30 Mar, 2015 1 commit
  28. 24 Jan, 2015 4 commits