1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-11 23:00:24 +08:00

优化速度

This commit is contained in:
fumiama
2021-10-29 14:29:14 +08:00
parent 1b636bf2ae
commit 0f5fcfdba9
4 changed files with 4 additions and 2 deletions

View File

@@ -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)

View File

@@ -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;