smishra
-
Posts
17 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Blog Comments posted by smishra
-
-
I'm not a mac fanboy, nor do I usually like them. But I'll say its one of the last products put together in the United States.
It is designed in US but manufactured in China, as far as I know.
Future Ideas
in Development Blog
A blog by Josh in General
Posted
One way may be to perform two queries
1. fast, simple query to eliminate impossible objects where
x_any_object - x_ref > range
and
z_any_object - z_ref > range
The results of this can be stored in a temporary, in memory table and then used to run the second query
2. Of the smaller set of objects that are left perform
((x_any_object - x_ref) * (x_any_object - x_ref) +
(z_any_object - z_ref) * (z_any_object - z_ref)) < range * range
A custom, hand optimized implementation of data structures and implementation will always be faster than something built on a general abstraction like a database layer.
The question is the amount of time available for data structure specific optimization versus the general features brought in by a DB layer like sqlite
---------------------
3. Of course if these are common functions, one would eventually expect custom hardware to support this function. Wait this is what graphics cards do. :-) Maybe a better chipset/GPU architecture might help these sort of computations!