Re: Variable declaration - C vs script style
- From: bugbear <bugbear@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 14:04:38 +0100
markoa wrote:
Hello,
I've been wondering whether there are any differences in performance
when declaring variables within loops
comparing to all forward declarations. I'm mostly writing up to a few
hundred lines long scripts, but I need
relatively a lot variables, which look kind of ugly and IMO make the
script less readable when declared all
at the top. For example,
I would write for legibility, and worry about
performance only when forced.
If the limiting factor in your script
is the GC'ing of local variables,
you have an unusual script :-)
BugBear
.
- References:
- Variable declaration - C vs script style
- From: markoa
- Variable declaration - C vs script style
- Prev by Date: Re: getting arguments
- Next by Date: Both Methods and Indexing for Objects?
- Previous by thread: Variable declaration - C vs script style
- Next by thread: Re: Variable declaration - C vs script style
- Index(es):
Relevant Pages
|