Anonymous,

Please Login or Register
Download Nuke Evolution Xtreme today for a CMS you can enjoy using and sharing with your friends!
[ Download Now ]
Forum Index  ·  Search  ·  Usergroups  ·  Edit your profile  ·  Members  ·  Login, Check Messages
Arcade  ·  Ranks  ·  Staff  ·  Statistics  ·  Board Rules  ·  Forum FAQ  ·  Log in

Search for at
Evolution-Xtreme Advanced Search


+  
Latest Site News   Next 5 >>  
 Forum   Author   Replies   Last Post 
File Repository 1.0.0 Released Announcements! Lonestar 0 Tue Apr 26, 2016 6:44 am
Lonestar View latest post
Image Repository Released Announcements! Lonestar 1 Mon Oct 27, 2014 7:39 pm
Lonestar View latest post
So what happened to us? Announcements! SgtLegend 0 Tue May 06, 2014 12:32 am
SgtLegend View latest post
[PROGRESS] Nuke Evolution Xtreme 2.0.9e Announcements! SgtLegend 2 Sun May 27, 2012 6:25 pm
SgtLegend View latest post
European Cookie Law Announcements! SgtLegend 0 Sat May 26, 2012 7:33 am
SgtLegend View latest post
   
Recent Topics   Next 15 >>  
 Forum   Author   Replies   Last Post 
Evo staff looking for some volunteers. Community Announcements coRpSE 20 Thu Jul 02, 2015 9:19 am
Depresjon2 View latest post
Evo Xtreme 2.0.9D Updated for PHP 5.6 General Support coRpSE 121 Thu Mar 23, 2017 3:57 pm
casterdon View latest post
[ MOD ] - Honeypot V2.2 AntiBot Module Security coRpSE 106 Tue Nov 22, 2016 11:30 am
coRpSE View latest post
Possible new Admin area layout Comments and Suggestions Lonestar 18 Wed Sep 14, 2016 11:37 am
Blackou View latest post
jQuery update General Support Lonestar 2 Wed May 11, 2016 4:49 pm
Charles64 View latest post
Deutsche Sprachdatei - german language files German DT50R 7 Thu Jan 28, 2016 7:04 am
DT50R View latest post
[FIX] Correct Cookie Settings (Invalid Session Error) Quick fixes killigan 110 Fri Mar 20, 2015 1:06 pm
Macdaddy View latest post
Looking for coRpSE? He is gone till May. General Chat coRpSE 4 Sun Mar 26, 2017 6:50 pm
coRpSE View latest post
Think I got hit with malware somehow General Support bobdude 10 Sun Mar 26, 2017 6:44 pm
coRpSE View latest post
error log Bugs Redcougarxr7 31 Tue Mar 21, 2017 8:46 pm
coRpSE View latest post
I seem to be locked out of my website Smile General Support storm 4 Sat Mar 11, 2017 12:29 pm
coRpSE View latest post
Site gone off General Support GI_ 3 Fri Mar 03, 2017 11:21 am
Lonestar View latest post
Norwegian Language Multilingual Support dogbone 0 Wed Mar 01, 2017 10:43 pm
dogbone View latest post
Arcade General Support Reaper2388 59 Sun Feb 26, 2017 7:13 pm
pholix View latest post
all blocks General Support Worfwarrior 6 Sat Feb 25, 2017 4:41 pm
coRpSE View latest post

Eliminate empty arrays

 
Post new topic    Reply to topic    printer-friendly view   Thank Post    Evolution-Xtreme Forum Index -> Comments and Suggestions
View previous topic :: View next topic  
Author Message
DELETED



Gender: Gender:Male
Joined: Sep 08, 2014
Posts: 3

Reputation: 0.5


Status: Offline
PostPosted: Wed Sep 10, 2014 3:48 am Post subject: No icon Eliminate empty arrays Reply with quote

 Strongly  suggest  adding  array_filter(  to  dump  out  some  of  the  memory  during  run  time  of  a  lot  of  functions.
 
 Example:  function_mg_ranks.php
 
                                                 
PHP:                
$user_ranks array_filter$user_ranks'strlen' ); // Eliminate empty strings, but leave ones with '0'
return $user_ranks;

Side NoteStrongly suggest adding rank_id to this file for faster cross query additions to the $user_ranks array. 
               
Back to top
View user's profile Send private message
SgtLegend
Site Admin
Site Admin
Lead Developer
Lead Developer
DFG Developer
DFG Developer



Gender: Gender:Male
Joined: Oct 11, 2008
Age: 25
Posts: 5169
Location: Australia
Reputation: 616.1
votes: 27
australia.png


Status: Offline
Web Control Panel: WHM
PostPosted: Wed Sep 10, 2014 8:25 am Post subject: No icon Re: Eliminate empty arrays Reply with quote

 Sadly  this  is  the  case  in  phpBB2,  a  lot  of  the  code  base  for  the  forum  itself  wasn't  changed  but  altered  to  work  within  Nuke  so  it  is  a  bit  of  a  memory  hog.
 
 
                                                 
Quote:                
Side  Note:  Strongly  suggest  adding  rank_id  to  this  file  for  faster  cross  query  additions  to  the  $user_ranks  array.                

 Noted.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topic  Reply to topic   printer-friendly view   Thank Post Evolution-Xtreme Forum Index ->  Comments and Suggestions All times are UTC - 5 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts File upload module 38 GreggyD 12499 Sat Nov 26, 2011 2:22 am
Malius View latest post
No new posts Message: Can't create/write to file '/tmp/#sql_a75_0.MYI' (E 7 DuoEclair 2866 Sun Nov 13, 2011 5:08 pm
SgtLegend View latest post
No new posts PSD File on Theme header! 8 coopvet2000 5805 Sat Nov 12, 2011 9:34 am
Code-X View latest post
No new posts Howe can i put a fladh file as signature. 3 Edjo 1891 Thu Nov 25, 2010 10:02 am
denzil3009 View latest post
No new posts File does not exist 8 missing 3364 Sun Oct 03, 2010 10:53 pm
SgtLegend View latest post
 




Powered by phpBB © 2001, 2006 phpBB Group
EvoXtreme Theme by SgtLegend ©
Forums ©