Eric Shulman said the following on 10/29/2013 11:58 PM:
Also, as an optimization in <<forEachTiddler>>, because you are
referencing fields in the "current" tiddler, you can replace this syntax:
store.getValue(tiddler,"Country")
with just:
tiddler.fields["country"]
which saves a bit of TWCore overhead processing.
I recall reading somewhere late last night while trying to learn what to
do about 'fields' that such is depreciated on the basis that future
versions of TW might (?!?) store custom fields differently, so the
'getvalue()' form should be user -- "Defensive programming" against
possible changes in the interface. Sorry, I don't recall just where I
read that.
Right now speed optimization isn't my #1 concern, but I'll keep this
around just in case.. Thanks, Eric.
--
The bitterness of poor quality lingers long after the sweetness of
meeting schedules is forgotten.
--Kathleen Byle, Sandia National Laboratories
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.