From c23fc6e9dfbb37e6c6fa02bdb798e65c680f3057 Mon Sep 17 00:00:00 2001 From: Simon Gellis Date: Thu, 14 Nov 2024 21:02:56 -0500 Subject: [PATCH] Small performance improvements --- build.rs | 3 +++ shrooms-vb-core | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 697e46e..ab23bf9 100644 --- a/build.rs +++ b/build.rs @@ -6,6 +6,9 @@ fn main() { .include(Path::new("shrooms-vb-core/core")) .opt_level(2) .flag_if_supported("-fno-strict-aliasing") + .define("VB_LITTLE_ENDIAN", None) + .define("VB_SIGNED_PROPAGATE", None) + .define("VB_DIV_GENERIC", None) .file(Path::new("shrooms-vb-core/core/vb.c")) .compile("vb"); } diff --git a/shrooms-vb-core b/shrooms-vb-core index b4b9131..7e31fbd 160000 --- a/shrooms-vb-core +++ b/shrooms-vb-core @@ -1 +1 @@ -Subproject commit b4b9131f3976388b096343725fce1bdf35f4e3df +Subproject commit 7e31fbd5824d612e26a176aa2946497cfb2aa02e