diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-10-29 23:09:42 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-10-29 23:09:42 +0200 |
commit | cea0ec20e60e31b998c08cbae96c4601758f101f (patch) | |
tree | 688cd75505e92767087d3de6364e15f6104fb371 /spline-widget/spline.hpp | |
parent | 031ef4c3b2ede47b30f69718fb1c0b9c4cfc1bf1 (diff) |
spline-widget: don't compute the same thing over and over again
Diffstat (limited to 'spline-widget/spline.hpp')
-rw-r--r-- | spline-widget/spline.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spline-widget/spline.hpp b/spline-widget/spline.hpp index b7a8e343..c0155933 100644 --- a/spline-widget/spline.hpp +++ b/spline-widget/spline.hpp @@ -56,7 +56,7 @@ class OPENTRACK_SPLINE_EXPORT spline final std::vector<float> data; using interp_data_t = decltype(data); - static constexpr int value_count = 10000; + static constexpr int value_count = 500; MyMutex _mutex; QPointF last_input_value; |