In fact with sql-de-lite using (sql) multiple times has little penalty; it's just a hash table lookup, as the egg caches prepared statements. So any speedup is probably dwarfed by database insert time.