awtGerry / school_schedule

Proyecto de titulacion
GNU General Public License v3.0
0 stars 0 forks source link

Improve overall performance for sqlite #1

Closed awtGerry closed 1 month ago

awtGerry commented 1 month 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 1 month ago

Handle errors done on fc3d5ef

Still needs improvements.