double vs single quotes in PHP
Issue #200
wontfix
Originally reported on Google Code with ID 200
This is really an small suggestion that can be really ignored..
PLA makes use of double quotes where will be best use single quotes.
Remember that double quotes in PHP "expands" string while single quotes not. There
are many code in PLA with double quoted strings where it really do not need expansion
so single quote is a little (very little) more efficient because PHP skips the expansion
process.
Reported by is2cool4me
on 2013-03-21 11:11:17
Comments (9)
-
-
We briefly touched on this in issue #181 (comments #29-#33*) but although probably more efficient, the number of strings required to make a noticeable difference is orders of magnitude larger than what we have (and we have many!). So we'll concentrate on reducing the number even more, rather than making each one of them a microsecond faster :) I'll mark this as Won't-Fix, although we are aware of the micro-optimization option. [*]http://code.google.com/p/phpliteadmin/issues/detail?id=181#c29
Reported by
dreadnaut
on 2013-03-21 13:27:20 - Status changed:WontFix
-
Account Deleted Yes all this is true, is small compared with other questions, is simply a suggestion (if possible). I'm using PLA to admin remote (sloooowww.... GRPS) embedded systems and things needs much more time than on a desktop computer, each microsecond counts..
Reported by
is2cool4me
on 2013-03-21 15:43:05 -
That's interesting. What is the minimal hardware you run PLA on?
Reported by
crazy4chrissi
on 2013-03-21 16:20:59 -
Account Deleted The system has an ARM AT91RM9200 running at 180MHz (about 90 bogomips) with 64Mb SRAM and 16Mb FLASH. The most big program I'm running is PHP, that has 2.5Mb, witch is greater even than kernel.
Reported by
is2cool4me
on 2013-03-21 16:38:30 -
That's very cool. We should get Issue #78 fixed for people with little memory available, 'cause I guess it would make a noticeable difference even with smaller sets.
Reported by
dreadnaut
on 2013-03-21 16:42:51 -
Cool. Thanks for the info. That's about as much as the guy running PLA on a TP-Link (openWRT) router in issue #112 (you have a slower cpu, but far more memory). Do you have similar problems? I mean, the UI being slow is probably expected - but problems of records not updated completely? There will be a time when every fridge comes with PLA just as a maintenance gui :-)
Reported by
crazy4chrissi
on 2013-03-21 16:48:01 -
> We should get Issue #78 fixed for people with little memory available, Agreed.
Reported by
crazy4chrissi
on 2013-03-21 16:49:27 -
Account Deleted No, at the moment I don't have any problem other than slow UI, from 1 to 2 seconds on LAN. But when connecting through a GPRS connection.. up to 10 times slower, depends on network coverage. PLA is very nice for maintenance.. I love it.. it make my live more easy..
Reported by
is2cool4me
on 2013-03-21 17:10:25 - Log in to comment
Reported by
crazy4chrissi
on 2013-03-21 13:21:18