Skip to content

Instantly share code, notes, and snippets.

View black7375's full-sized avatar
💭
I may be slow to respond.

MS_Y black7375

💭
I may be slow to respond.
View GitHub Profile
@black7375
black7375 / fibo.cpp
Created December 16, 2019 23:56
Fibonacci BenchMark
#include "bench.h"
using SOURCE = u64;
using RESULT = u64;
SOURCE src[ 10000 ];
constexpr u32 SIZE = sizeof src / sizeof *src;
RESULT dst0[ SIZE ], dst1[ SIZE ], dst2[ SIZE ], dst3[ SIZE ], dst4[ SIZE ],
@black7375
black7375 / Makefile
Created September 18, 2019 01:25
친구 코드 리팩토링 해줬던 것(데이터구조)
couple: couple.o
gcc couple.o -lm -o couple
couple.o: couple.c
gcc -c -O2 couple.c
clean:
rm -f couple couple.o