summary refs log tree commit diff stats
path: root/compiler/options.nim
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-06-04 00:38:49 +0200
committerAdam Strzelecki <ono@java.pl>2015-06-09 20:53:03 +0200
commit87429071330cc8516dab2612b45689a510528f6a (patch)
treeef0182542edb1ea69315ea24e94b724a700d3d13 /compiler/options.nim
parent25a19875172db5024c1edf7011a5b46996e4f543 (diff)
downloadNim-87429071330cc8516dab2612b45689a510528f6a.tar.gz
db: InstantRow and instantRows
It is drop-in replacement for Row and fastRows, however instantRows returns a
handle, not seq[string], so no Nim string is created until [] operator is
called on the given handle. Also there is a len() proc returning number of
columns in the handle.

In some situations, when we iterate through many rows, but later we just read
few columns this solution will be quicker than converting all column to Nim
seq[string] on each iteration.
Diffstat (limited to 'compiler/options.nim')
0 files changed, 0 insertions, 0 deletions