more comments

[ci skip]
CTrie#__len__ added
Using __slots__ for improved performances