Oren Ben-Kiki
Intel
Network
Latest external collaboration on country level. Dive into details by clicking on the dots.
Publication
Featured researches published by Oren Ben-Kiki.
foundations of software technology and theoretical computer science | 2011
Oren Ben-Kiki; Philip Bille; Dany Breslauer; Leszek Gasieniec; Roberto Grossi; Oren Weimann
In the packed string matching problem, each machine word accomodates alpha characters, thus an n-character text occupies n/alpha memory words. We extend the Crochemore-Perrin constant-space O(n)-time string matching algorithm to run in optimal O(n/alpha) time and even in real-time, achieving a factor alpha speedup over traditional algorithms that examine each character individually. Our solution can be efficiently implemented, unlike prior theoretical packed string matching work. We adapt the standard RAM model and only use its AC0 instructions (i.e. no multiplication) plus two specialized AC0 packed string instructions. The main string-matching instruction is available in commodity processors (i.e. Intels SSE4.2 and AVX Advanced String Operations); the other maximal-suffix instruction is only required during pattern preprocessing. In the absence of these two specialized instructions, we propose theoretically-efficient emulation using integer multiplication (not AC0) and table lookup.
Theoretical Computer Science | 2014
Oren Ben-Kiki; Philip Bille; Dany Breslauer; Leszek Gasieniec; Roberto Grossi; Oren Weimann
In the packed string matching problem, it is assumed that each machine word can accommodate up to @a characters, thus an n-character string occupies n/@a memory words. (a) We extend the Crochemore-Perrin constant-space O(n)-time string-matching algorithm to run in optimal O(n/@a) time and even in real-time, achieving a factor @a speedup over traditional algorithms that examine each character individually. Our macro-level algorithm only uses the standard AC^0 instructions of the word-RAM model (i.e. no integer multiplication) plus two specialized micro-level AC^0 word-size packed-string instructions. The main word-size string-matching instruction wssm is available in contemporary commodity processors. The other word-size maximum-suffix instruction wslm is only required during the pattern pre-processing. Benchmarks show that our solution can be efficiently implemented, unlike some prior theoretical packed string matching work. (b) We also consider the complexity of the packed string matching problem in the classical word-RAM model in the absence of the specialized micro-level instructions wssm and wslm. We propose micro-level algorithms for the theoretically efficient emulation using parallel algorithms techniques to emulate wssm and using the Four-Russians technique to emulate wslm. Surprisingly, our bit-parallel emulation of wssm also leads to a new simplified parallel random access machine string-matching algorithm. As a byproduct to facilitate our results we develop a new algorithm for finding the leftmost (most significant) 1 bits in consecutive non-overlapping blocks of uniform size inside a word. This latter problem is not known to be reducible to finding the rightmost 1, which can be easily solved, since we do not know how to reverse the bits of a word in O(1) time.
Archive | 2016
Oren Ben-Kiki; Ilan Pardo; Robert Valentine; Eliezer Weissmann; Dror Markovich; Yuval Yosef
Archive | 2012
Oren Ben-Kiki; Ilan Pardo; Robert Valentine
Archive | 2012
Oren Ben-Kiki; Yuval Yosef; Ilan Pardo; Dror Markovich
Archive | 2012
Oren Ben-Kiki; Ilan Pardo; Eliezer Weissmann
Archive | 2016
Oren Ben-Kiki; Ilan Pardo; Arch D. Robison; James Cownie
Archive | 2014
Name Ilan Pardo; Dror Markovich; Oren Ben-Kiki; Yuval Yosef
Archive | 2012
Oren Ben-Kiki; Ilan Pardo; Eliezer Weissmann; Robert Valentine
Archive | 2012
Ilan Pardo; Michael Behar; Oren Ben-Kiki; Dror Markovich