However, I am a bit curious, how much slower a BoxedSqlQuery is ? My understanding is that it’s just a Box and the real difference is that for every method called, heap must be accessed, since it’s doing dynamic dispatch. So can we roughly say that it’s an order of magnitude slower than using Diesel without BoxedSqlQuery? And isn’t that many many orders of magnitude faster than the actual time it takes for the query to execute ? (which should be around 5ms).
I just need to make sure I shouldn’t feel guilty everytime I am using BoxedSqlQuery Is there any other disadvantage using BoxedSqlQuery ?