Skip to content

Instantly share code, notes, and snippets.

View TimothyGu's full-sized avatar
🤠
🤠

Timothy Gu TimothyGu

🤠
🤠
  • Seattle, US
  • 17:31 (UTC -07:00)
View GitHub Profile
@TimothyGu
TimothyGu / index.html
Created August 2, 2016 22:49 — forked from RubaXa/index.html
for-in vs. Object.keys (uncached) (http://jsbench.github.io/#5905cad9488ab4d470ad7a5818aebc2f) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>for-in vs. Object.keys (uncached)</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
// xv2flv
// Found on http://hi.baidu.com/naylonslain/item/9586125a9f5979dbd58bac47
#include <stdio.h>
#include <stdlib.h>
int convert_file(char *szSourceFile, int bIsFastConv)
{
char szNewFileName[256] = {0};
int buffer[0x400];