Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Where would they even use generics? All their algorithm requires is arrays of polygons, and a function to check if a polygon contains a point.


To store the RTree entries. Say you want to switch between 32 bit and 64 bit floating point types in your implementation, without re-writing the entire thing.


sed -i s/float/double/ *.go




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: