mirror of https://github.com/CGAL/cgal
Avoid using std::unordered_set for MSVC2013 as performances can be very bad
See: https://medium.com/plaxis/embarrassingly-poor-performance-of-regular-point-sets-with-std-unordered-set-418cb413974b
This commit is contained in:
parent
70859adb20
commit
24ac59a01c
|
|
@ -184,7 +184,8 @@
|
|||
#if defined(BOOST_NO_0X_HDR_UNORDERED_SET) || \
|
||||
defined(BOOST_NO_0X_HDR_UNORDERED_MAP) || \
|
||||
defined(BOOST_NO_CXX11_HDR_UNORDERED_SET) || \
|
||||
defined(BOOST_NO_CXX11_HDR_UNORDERED_MAP)
|
||||
defined(BOOST_NO_CXX11_HDR_UNORDERED_MAP) || \
|
||||
(defined(_MSC_VER) && (_MSC_VER == 1800)) // std::unordered_set is very bad in MSVC2013
|
||||
#define CGAL_CFG_NO_CPP0X_UNORDERED 1
|
||||
#endif
|
||||
#if defined( BOOST_NO_0X_HDR_THREAD) || \
|
||||
|
|
|
|||
Loading…
Reference in New Issue