1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 06:08:38 -04:00

Merge pull request #99 from DBD-SQLite/set_utf8cache

Set UTF8CACHE to avoid slowdown with -DDEBUGGING
This commit is contained in:
Kenichi Ishigaki 2022-03-12 11:49:24 +09:00 committed by GitHub
commit b03fd9980e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",