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 <iostream> | |
#include "include/InfluxDBFactory.h" | |
#include "include/Transport.h" | |
#include "include/Point.h" | |
using namespace influxdb; | |
int main() { | |
const std::size_t batch_size = 15000; | |
int point_count = 54000000; // number of write points |
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
// | |
// Marching Cubes Example Program | |
// by Cory Bloyd ([email protected]) | |
// | |
// A simple, portable and complete implementation of the Marching Cubes | |
// and Marching Tetrahedrons algorithms in a single source file. | |
// There are many ways that this code could be made faster, but the | |
// intent is for the code to be easy to understand. | |
// | |
// For a description of the algorithm go to |