diff options
author | Adam Strzelecki <ono@java.pl> | 2015-06-04 00:38:49 +0200 |
---|---|---|
committer | Adam Strzelecki <ono@java.pl> | 2015-06-09 20:53:03 +0200 |
commit | 87429071330cc8516dab2612b45689a510528f6a (patch) | |
tree | ef0182542edb1ea69315ea24e94b724a700d3d13 /compiler/options.nim | |
parent | 25a19875172db5024c1edf7011a5b46996e4f543 (diff) | |
download | Nim-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