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:
commit
b03fd9980e
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,9 @@ use if -d ".git", "Test::FailWarnings";
|
||||||
use DBD::SQLite;
|
use DBD::SQLite;
|
||||||
use DBD::SQLite::Constants ':dbd_sqlite_string_mode';
|
use DBD::SQLite::Constants ':dbd_sqlite_string_mode';
|
||||||
|
|
||||||
|
# Avoid slowdown with -DDEBUGGING:
|
||||||
|
${^UTF8CACHE} = 1;
|
||||||
|
|
||||||
my @texts = ("il était une bergère",
|
my @texts = ("il était une bergère",
|
||||||
"qui gardait ses moutons",
|
"qui gardait ses moutons",
|
||||||
"elle fit un fromage",
|
"elle fit un fromage",
|
||||||
|
|
Loading…
Add table
Reference in a new issue