<commit_before>#ifdef WIN32
#define _USE_MATH_DEFINES
#endif

#include <cmath>
#include <cstdlib>
#include <vector>

#include <dsnutil/parallel_for.h>

int main()
{
    size_t size = 1e8;
    std::vector<double> v(size);

    dsn::parallel_for(size, [&](const size_t i) {
        v[i] = sin(2*M_PI*i/(double) size);
    });
}
<commit_msg>Lower number of loop iterations for examples/parallel_for<commit_after>#ifdef WIN32
#define _USE_MATH_DEFINES
#endif

#include <cmath>
#include <cstdlib>
#include <vector>

#include <dsnutil/parallel_for.h>

int main()
{
    size_t size = 1e4;
    std::vector<double> v(size);

    dsn::parallel_for(size, [&](const size_t i) {
        v[i] = sin(2*M_PI*i/(double) size);
    });
}

{'fraction_non_alphanumeric': 0.1597222222222222, 'fraction_numerical': 0.013888888888888888, 'mean_word_length': 4.301470588235294, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4118559', 'n_tokens_mistral': 302, 'n_tokens_neox': 290, 'n_words': 60}