From 9c6cbfcc51ed8f911c5e84988a31d78887f2b6f9 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Sat, 12 Mar 2022 10:43:05 +0900 Subject: [PATCH] Set UTF8CACHE to avoid slowdown with -DDEBUGGING --- t/43_fts3.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/43_fts3.t b/t/43_fts3.t index 32340c1..9d857c9 100644 --- a/t/43_fts3.t +++ b/t/43_fts3.t @@ -8,6 +8,9 @@ use if -d ".git", "Test::FailWarnings"; use DBD::SQLite; use DBD::SQLite::Constants ':dbd_sqlite_string_mode'; +# Avoid slowdown with -DDEBUGGING: +${^UTF8CACHE} = 1; + my @texts = ("il était une bergère", "qui gardait ses moutons", "elle fit un fromage",