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 <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#ifdef _MSC_VER | |
#include <intrin.h> /* for rdtscp and clflush */ | |
#pragma optimize("gt",on) | |
#else | |
#include <x86intrin.h> /* for rdtscp and clflush */ | |
#endif |
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
--[[ | |
LuaJIT-cURL | |
Lucien Greathouse | |
LuaJIT FFI cURL binding aimed at cURL version 7.38.0. | |
Copyright (c) 2014 lucien Greathouse | |
This software is provided 'as-is', without any express | |
or implied warranty. In no event will the authors be held | |
liable for any damages arising from the use of this software. |