mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-11 23:00:24 +08:00
优化速度
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.0.0)
|
||||
project(base1432 VERSION 2.0)
|
||||
SET(CMAKE_BUILD_TYPE "Release")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native")
|
||||
|
||||
add_library(base1432 STATIC base14.c)
|
||||
add_library(base14 SHARED base14.c)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
//fumiama 20210408
|
||||
#include <stdint.h>
|
||||
|
||||
#define B14BUFSIZ 8192
|
||||
#define B14BUFSIZ 1024*1024 // 1M
|
||||
struct LENDAT {
|
||||
uint8_t* data;
|
||||
int32_t len;
|
||||
|
||||
Reference in New Issue
Block a user