SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: # of Variables

  1. #1
    SitePoint Guru augathra's Avatar
    Join Date
    Jul 2004
    Location
    united states
    Posts
    826
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    # of Variables

    Hi, is there any bad effects of having 150-200 variables? Page running slow?

    Thanks

  2. #2
    Non-Member john.stone's Avatar
    Join Date
    Aug 2004
    Location
    Houston, Texas
    Posts
    555
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well that really depends on your server, if it's fast (1GB of memory xeon CPU) you probably won't notice much of a slowdown, but if your running an average server, you very well might get some slow down. I would try never to have more then 20 or so variables per page... I would try to combine them into arrays where ever possible...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •