Search the web
Sign In
New User? Sign Up
OSCAR-PROJECT · OSCAR is an open source REBOL interpreter
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Datamodel   Message List  
Reply | Forward Message #1001 of 1031 |
Re: [OSCAR Project] Datamodel

Sounds good, Daan. We're probably all looking forward to seeing your code.

On Mon, 5 Nov 2001, Daan Oosterveld wrote:

> A small example how I've implemented the datamodel so far in C++.
> The attachment is an PDF document of a class hierachy..

Sorry, but it's too little to give any real clue.

> In this model the values are fixed sizes.
> With exeption to complex or variable size values.

Figured as much. Did you comprehend enough of my "variable-size values"
ramblings to have an opinion about the issue?

Btw, there is a solution to the problem of how to throw away values with
block (which is automatic for contained values, but obviously not for
referenced ones). Just let value tables be local to containers. That's it.
Perhaps this was alreay obvious to others. :-/

I should probably try implementing these reference containers, when you
have released your code.

As for performance of reference blocks: While we lose some access speed
vs value blocks, we might gain some when manipulating (e.g sorting) them.
Also, reference blocks doesn't require as large continuous memory areas,
but on the other hand you need 4 extra ones to store the values in.

Reference blocks should be a win for storing small values (32 - 64 bits)
vs fixed value (128bit) blocks, but a loss for large values. It's hard to
predict which the general case is.

Marcus
------------------------------------
If you find that life spits on you
calm down and pretend it's raining





Thu Nov 8, 2001 11:44 pm

d4marcus
Offline Offline
Send Email Send Email

Forward
Message #1001 of 1031 |
Expand Messages Author Sort by Date

Hello, A small example how I've implemented the datamodel so far in C++. The attachment is an PDF document of a class hierachy.. In this model the values are...
Daan Oosterveld
empty0head
Offline Send Email
Nov 5, 2001
11:50 am

Sounds good, Daan. We're probably all looking forward to seeing your code. ... Sorry, but it's too little to give any real clue. ... Figured as much. Did you...
Marcus Petersson
d4marcus
Offline Send Email
Nov 8, 2001
11:45 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help