As you perform this analysis, it is a good idea to provide a rationale for your mapping.
当你执行这个分析过程时,提供一个映射的基本原理是一个很好的主意。
Well the idea of a hash, in fact, what's called a hash function is to have some way of mapping any kind of data into integers.
我要怎么做?实际上想法还是哈希,通过一个哈希函数,把任何种类的数据都映射成整数。
Working with an unusual repository can actually add a little fun to the mapping process; but that's assuming that content integration is your idea of fun, which may be true only for me.
使用一种不寻常的存储库确实可以为映射过程带来一点儿乐趣;我认为内容集成是乐趣,但是您可能不这么想。
Well the idea of a hash, in fact, what's called a hash function is to have some way of mapping any kind of data into integers.
我要怎么做?实际上想法还是哈希,通过一个哈希函数,把任何种类的数据都映射成整数。
I think one of the classic ones for strings is called the Rabin-Karp algorithm. And it's simply the same idea that you have a mapping from your import into a set of integers.
我认为字符串哈希,最经典的是Rabin-Karp算法,它只是简单的相同概念,你有一个映射关系将你的输入映射成一组数字。
应用推荐