[hyena] Augment code comment
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hyena] Augment code comment
- Date: Wed, 26 May 2010 02:34:21 +0000 (UTC)
commit f8fa7c5f70745f98077cc4b12e4efe88f7543141
Author: Gabriel Burt <gabriel burt gmail com>
Date: Mon Feb 15 19:43:52 2010 -0800
Augment code comment
.../Hyena.Data.Sqlite/HyenaSqliteConnection.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/Hyena.Data.Sqlite/Hyena.Data.Sqlite/HyenaSqliteConnection.cs b/src/Hyena.Data.Sqlite/Hyena.Data.Sqlite/HyenaSqliteConnection.cs
index e7fad63..976102d 100644
--- a/src/Hyena.Data.Sqlite/Hyena.Data.Sqlite/HyenaSqliteConnection.cs
+++ b/src/Hyena.Data.Sqlite/Hyena.Data.Sqlite/HyenaSqliteConnection.cs
@@ -92,6 +92,9 @@ namespace Hyena.Data.Sqlite
// These are 'parallel' queues; that is, when a value is pushed or popped to
// one, a value is pushed or popped to all three.
+ // The 1st contains the command object itself, and the 2nd and 3rd contain the
+ // arguments to be applied to that command (filled in for any ? placeholder in the command).
+ // The 3rd exists as an optimization to avoid making an object [] for a single arg.
private Queue<HyenaSqliteCommand> command_queue = new Queue<HyenaSqliteCommand>();
private Queue<object[]> args_queue = new Queue<object[]>();
private Queue<object> arg_queue = new Queue<object>();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]