Re: Question about OpenCL VLOOKUP implementation

2024-01-24 Thread Miklos Vajna
Hi Dhiraj, On Tue, Jan 23, 2024 at 05:59:06PM -0600, Dhiraj Holden wrote: > I have a question about the OpenCL implementation of VLOOKUP as given in > sc/source/core/opencl/op_spreadsheet.cxx. Right now, both the unsorted and > sorted vlookup both do a linear search to find the right value. I am

Question about OpenCL VLOOKUP implementation

2024-01-23 Thread Dhiraj Holden
I have a question about the OpenCL implementation of VLOOKUP as given in sc/source/core/opencl/op_spreadsheet.cxx. Right now, both the unsorted and sorted vlookup both do a linear search to find the right value. I am wondering if it would be better to do a binary search for sorted vlookup. I could