cools9 / ElementalDB

A database made in python meant to be superfast and easy to learn for beginners and meant to be a sql,sqlite and postgres competitor
MIT License
11 stars 9 forks source link

Optimization problem #35

Closed ESFLOWNK closed 1 month ago

ESFLOWNK commented 1 month ago

In the file server.py some functions use classes as function arguments, and that's good for readability but not for the performance.

The functions (add_item and update_item) use classes just for passing three values, and it shouldn't be a problem to pass them directly to the function.

cools9 commented 1 month ago

Yah either you or I can fix it

ESFLOWNK commented 1 month ago

Thank you