Mark Wieder wrote:
Richard-

Sunday, September 27, 2009, 10:11:18 AM, you wrote:

Looking into the RQCC this morning I found an excellent discussion on
this by Mark Waddingham in in request submitted by Björnke:
<http://quality.runrev.com/qacenter/show_bug.cgi?id=6912>

Thanks for pointing this one out. I added votes as well.

While I was there I added a request to solve the bloat problem with keys
of sub-arrays within a parent array in which all of the sub-arrays use
the same key names:
<http://quality.runrev.com/qacenter/show_bug.cgi?id=8304>

I like the idea of a struct-like assembly, but wouldn't the same thing
be accomplished by using numeric constants (and possibly faster, if I
understand the way the numeric arrays work):

constant kName = 1
constant kParty = 2
constant kAddress = 3
-- etc

put "R" into member[kParty]

Moments like this make me glad you're on this list. :)

Yes, that definitely reduces the bloat, down to a single byte per field. A struct would reduce it even more (at least for arrays with more than four fields), but that's a big step forward for keeping file sizes down that can be used today.

Thanks for the idea -

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to