awtGerry / school_roster

Creador y administrador de horarios
GNU General Public License v3.0
0 stars 0 forks source link

Improve overall performance for sqlite #1

Closed awtGerry closed 6 months ago

awtGerry commented 6 months ago

I added i way that doesn't execute query CREATE TABLE because it could affect performance.

Reasons

Pros: Explicit checks, avoids unnecessary parsing and execution planning.

Cons: Slight overhead of additional query per table.

TODOS

Still the code isn't perfect, we need to implement a way to handle possible errors from database and avoid app to crash.

awtGerry commented 6 months ago

Handle errors done on fc3d5ef

Still needs improvements.