clarify further how to use prepared statements correctly, the readme only shows how to prepare statements, not how to properly use them.
do some more work to avoid creating new prepared statement objects when #prepare is called excessively.
Since prepared statement objects will stick around until a connection closes, maybe checking all connections for a statement with the same CQL as the argument to Client#prepare would work. The statement objects are stateless, so sharing them isn't a problem.
93, #102, #103 all point to the need to
#prepare
is called excessively.Since prepared statement objects will stick around until a connection closes, maybe checking all connections for a statement with the same CQL as the argument to
Client#prepare
would work. The statement objects are stateless, so sharing them isn't a problem.