开发者

Database to store arrays of integers and bitset in [closed]

开发者 https://www.devze.com 2023-03-31 10:42 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incompl开发者_开发问答ete, overly broad, or rhetorical andcannot be reasonably answered in its current form.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incompl开发者_开发问答ete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I am building a small image search engine that uses image descriptors that are both binary numbers and integer valued (numpy) arrays which are both the 'keys' which should both form the basis for an inverted file like approach. The value is simply the image name/identifier they originated from.

I am looking for a database / caching solution with a python interface that will allow me to quickly search for these keys and not have me worry about memory and disc management.


Arrays in Python are instances of the class array
If you mean "list", use preferably the term 'list'

If I understand correctly, you use a data structure having integers as keys, and binary numbers as values: in Python it's a dictionary

If you want to record this data structure in a file, use the module cPickle

.

update

there was a 'hello, welcome' at the beginning of my post... I rewrite it here

0

精彩评论

暂无评论...
验证码 换一张
取 消