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

Note an optimization, for later

This commit is contained in:
Max Maischein 2020-09-12 22:35:49 +02:00
parent e521f92bf6
commit a83a495af1

View file

@ -424,8 +424,8 @@ static int perl_fts5_tokenizer_Tokenize(
dTHX; dTHX;
dSP; dSP;
/* The implicit assumption here is that our callback will only be /* newSVpvn() will create a copy of this buffer, but ideally we would
* invoked from a stack frame below this frame! * directly write into the PV part of that copied buffer instead
*/ */
perl_cb_ctx ctx; perl_cb_ctx ctx;
SV* ctxP; SV* ctxP;