Performance enhancement

the [set] operator is faster than [select]
Performance/functionality

rewritten for a gain in performance.  new version is more than twice as
fast.  also enhanced to support unicode characters