neel_basu Posted August 10, 2007 Share Posted August 10, 2007 I need a software that does the following function name() { } to function name(){ } Does anybody knows anything that can do this recursively in a Directory on all .php files ?? Quote Link to comment Share on other sites More sharing options...
dbo Posted August 10, 2007 Share Posted August 10, 2007 I like the first one better. It makes it easier to match brackets imo But know I don't know of any particular software that would do this, though I have seen similar stuff done. Quote Link to comment Share on other sites More sharing options...
neel_basu Posted August 10, 2007 Author Share Posted August 10, 2007 If I cnvert the 1st one to 2nd it would save 1 Byte per function , If, else, class, switch....... I've ~74 files full of functions and classes and if's, else's ...... and its 974 KB all total think If I can convert all if, else, ...... in this how much size will be decreesed. Quote Link to comment Share on other sites More sharing options...
dbo Posted August 10, 2007 Share Posted August 10, 2007 Wow... uh. It's just my opinion but I doubt you'll get any noticeable performance boosts... and you surely aren't concerned about saving disk space? Quote Link to comment Share on other sites More sharing options...
neel_basu Posted August 10, 2007 Author Share Posted August 10, 2007 I of cource need to think about saving diskspace and lower teh package size. Quote Link to comment Share on other sites More sharing options...
dbo Posted August 10, 2007 Share Posted August 10, 2007 I'd be surprised if you even save 500k doing that? Are you running machines from the 80s cause disk space is cheap these days! Quote Link to comment Share on other sites More sharing options...
neel_basu Posted August 10, 2007 Author Share Posted August 10, 2007 The thing about which I am talking is a PHP librery zigmoyd PHP librery at http://zigmoyd.net what you think can you consider a librery 974 KB Space ?? where its current version is too less than that. if the question is why its so big the answer is. it offers so many things even it can do the most secure magical thing that Your Images , JS , CSS files are completely (98% cause nothing is 100% in the world) secured and no user's can copy and use the image , JS, CSS or any creative products from your sites. Quote Link to comment Share on other sites More sharing options...
dbo Posted August 10, 2007 Share Posted August 10, 2007 Ever seen a Microsoft library for anything? A 1MB library that offers me the world I'd be willing to download. I think you're reaching by wanting to save a handful of bytes per file. Quote Link to comment Share on other sites More sharing options...
neel_basu Posted August 10, 2007 Author Share Posted August 10, 2007 I dont use MS windows . Lets come back to the point. Quote Link to comment Share on other sites More sharing options...
dbo Posted August 10, 2007 Share Posted August 10, 2007 I don't either but I have in the past. Goodluck. Quote Link to comment Share on other sites More sharing options...
neel_basu Posted August 10, 2007 Author Share Posted August 10, 2007 so what do you think 974 KB is considerable ?? Quote Link to comment Share on other sites More sharing options...
dbo Posted August 10, 2007 Share Posted August 10, 2007 I don't know what all is in your library but I'd consider 1M for 75 files acceptable. Especially if it has as many features as you say. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.