"cdome", actually just 2 times since only selects one branch of the condition.
But thanks for the tip, because it dropped to 38s just by changing the
conditions order.
With that version in my file: [enwik8](http://mattmahoney.net/dc/enwik8.zip)
drops to 53s vs the python 64s. But I can't see the results with that version.
And if I save the string slice I will be back to the same problem.
The python version:
from timeit import default_timer as ti
To "cdome": I didn't find any delete proc in the CountTable, that's why I
didn't use it.
Is that correct?
type
StringSlice
src: ptr string
a,b: int
Gives me a compilation error! Is it instead:
type
StringSlice = object
src: ptr string
a,b: int
Also how can I use this with the type Table:
Hello, I was testing a simple stream algorithm with a slice window, but
performance is a bit disappointing! A python 3 version is actually in average
2x faster than the nim version.
My code:
import tables, times
const WORD_SIZE = 4
const K = 1
iterator wi