Post Reply 
moving data from Spreadsheet into 2-Var based on a category
01-22-2015, 09:44 AM (This post was last modified: 01-22-2015 11:10 AM by Snorre.)
Post: #4
RE: moving data from Spreadsheet into 2-Var based on a category
Hello mbeddo,

the provided filter function was meant as a generic building block: easy to read, easy to understand, easy to customize.

A more efficient solution would probably not iterate four times over the row set but only once and distribute the values directly to C1, ..., C4. (Well, the Prime is so blazingly fast, one may not even notice a speedup).

If you're interested in the functional approach, take a closer look to the CAS function "select". (I think it doesn't improve speed or easy-to-understand'ness but is quite more fun to puzzle out a single expression doing the filter-task.)

Greetings
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: moving data from Spreadsheet into 2-Var based on a category - Snorre - 01-22-2015 09:44 AM



User(s) browsing this thread: 1 Guest(s)