James McCool
commited on
Commit
·
a4ba398
1
Parent(s):
219079c
Add note for future memory optimization in app.py
Browse files- Added a comment indicating the intention to explore memory allocation savings and transition to using numpy for improved performance in future updates.
app.py
CHANGED
|
@@ -8,6 +8,9 @@ from pymongo.mongo_client import MongoClient
|
|
| 8 |
from pymongo.server_api import ServerApi
|
| 9 |
from datetime import datetime
|
| 10 |
|
|
|
|
|
|
|
|
|
|
| 11 |
def init_conn():
|
| 12 |
|
| 13 |
uri = st.secrets['mongo_uri']
|
|
|
|
| 8 |
from pymongo.server_api import ServerApi
|
| 9 |
from datetime import datetime
|
| 10 |
|
| 11 |
+
|
| 12 |
+
# Just setting a note here to say that I should attempt to do some memory allocation savings and swap to numpy soon
|
| 13 |
+
|
| 14 |
def init_conn():
|
| 15 |
|
| 16 |
uri = st.secrets['mongo_uri']
|