[Numpy-discussion] numba: maps, and list of vectors

Robert Kern robert.kern at gmail.com
Thu Jan 17 15:04:27 EST 2019


The numba mailing list is here:
https://groups.google.com/a/continuum.io/forum/#!forum/numba-users

On Thu, Jan 17, 2019 at 1:55 PM Stuart Reynolds <stuart at stuartreynolds.net>
wrote:

> I'm having great luck using with numba, but there are two problems I find
> difficult to solve with it.
>
> Often I want to algorithms that performs a lookup of a list/array of
> numbers. And this operation often comes in two flavors:
> (1)  <index>  => <int array>             # datastructure.get(0) => array
> (2)  <any int key>  => <int array>    # datastructure.get(999999999999) =>
> array
>
> In numba, how to people deal with indexed lookup where the range of the
> data structure is a memory managed object (array/list) (1)?
>
> In numba, how to people deal with problems needing hashed lookups (2)?
>
> Are there extension libraries / ways of calling out to C/C++ libraries
> that can easily help. (I know Cython is a route, but I am asking about
> numba specifically).
>
> Thanks,
> - Stuart
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion
>


-- 
Robert Kern
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20190117/5b4a24d5/attachment.html>


More information about the NumPy-Discussion mailing list