Erlend E. Aasland <erlend.aasl...@innova.no> added the comment:

I did a quick count of sqlite3_reset()s in the sqlite3 test suite:
- main:     2976 calls
- PR 27844: 1730 calls

Since we never call sqlite3_reset() with a NULL pointer, all sqlite3_reset() 
calls we execute hold the SQLite db mutex; reducing the number of 
sqlite3_reset() calls reduces the number of times we need to hold the mutex.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44958>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to