On Thu, Aug 29, 2013 at 3:23 PM, Christopher Sean Morrison
<[email protected]>wrote:
> On Aug 29, 2013, at 10:38 AM, Tom Browder <[email protected]> wrote:
>
> But it probably ought to be some kind of time struct (as you mentioned) on
> the object itself. I'll look into that instead of the attribute route.
>
> I think it'll be a noticeable performance difference if I wanted to show
> "recently changed" objects, for example. Scanning 10k strings vs 10k
> timestamps could be the difference between a 1ms realtime update and 100ms
> pauses in an interface (if done blocking of course).
>
I thought you argued that string time stamps use too much memory and disk
space? Isn't it faster to scan integers than strings?
My thought on the time stamps was to keep the time_t integer (wherever) and
just convert it to a string when needed (probably rarely). Is there a
performance hit to attaching pointers to objects?
-Tom
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel