You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now StatementsDao.readStatementForId reads the Statements one-by-one using readStatementWithoutSentenceForId (which uses readStatementsWithoutSentencesForIds for a single statement.) We should be able to use some combination of (or a new method that combines the approaches within) readStatementsWithoutSentencesForIds and readStatementChainForId to query the DB just once to get every thing we need for readStatementForId.
But since this may be early optimizing, consider the cost of improving (maybe start monitoring query performance first? #614)
The text was updated successfully, but these errors were encountered:
Right now
StatementsDao.readStatementForId
reads the Statements one-by-one usingreadStatementWithoutSentenceForId
(which usesreadStatementsWithoutSentencesForIds
for a single statement.) We should be able to use some combination of (or a new method that combines the approaches within)readStatementsWithoutSentencesForIds
andreadStatementChainForId
to query the DB just once to get every thing we need forreadStatementForId
.But since this may be early optimizing, consider the cost of improving (maybe start monitoring query performance first? #614)
The text was updated successfully, but these errors were encountered: