indragiek / DominantColor

Finding dominant colors of an image using k-means clustering
MIT License
960 stars 92 forks source link

Using Int(v) instead of v.hashValue for hash combo #18

Closed odeke-em closed 9 years ago

odeke-em commented 9 years ago

Deduced From the offline discussion with Indragie, Int(v) will apparently shave some ms off ~3. Int(v) was the original form but was changed for readability.