marisa-trie icon indicating copy to clipboard operation
marisa-trie copied to clipboard

Make `Agent` copyable and moveable

Open glebm opened this issue 3 years ago • 0 comments

This allows implementing C++ forward iterator interface on top of the Agent more efficiently.

C++ iterators must be copyable, and the only way to copy one previously was to repeat the query until the index.

glebm avatar Jun 24 '21 07:06 glebm