This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import pickle | |
import dill | |
import _pickle | |
import cloudpickle | |
import timeit | |
arr = np.random.default_rng(1991).random((100, 100, 100)) | |
for package in ["dill", "pickle", "_pickle", "cloudpickle"]: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <iostream> | |
int test() { | |
long long number = 0; | |
for (long long i = 0; i != 2000000000; ++i) { | |
number += 3; | |
} | |
std::cout << number << "\n"; | |
return 3; |