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
youtube videos in posts wont go full screen Modules PatPgtips 7 Mon Jul 24, 2017 9:42 am
coRpSE View latest post
Realm Designz General Support Thumpit 4 Thu Jul 20, 2017 6:13 pm
Thumpit View latest post
Billing/Invoicing Module Modules Thumpit 5 Wed Jul 19, 2017 2:29 pm
Thumpit View latest post
Sentinel IP2Country Update General Support bobdude 3 Sat Jul 15, 2017 9:26 am
coRpSE View latest post
a new local project www.wnyboards.com Link up skurge 0 Thu Jul 13, 2017 2:45 pm
skurge View latest post
Adding SSL certificate Security allrocknmetal 4 Sat Jul 08, 2017 4:48 am
allrocknmetal View latest post
Anyone know how to get hold of Noto? General Support Richmc 0 Fri Jul 07, 2017 5:18 pm
Richmc View latest post
General Info changes are not Saving once changed General Support Thumpit 2 Fri Jul 07, 2017 12:42 pm
Thumpit 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: 26
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 12804 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 2938 Sun Nov 13, 2011 5:08 pm
SgtLegend View latest post
No new posts PSD File on Theme header! 8 coopvet2000 6010 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 1938 Thu Nov 25, 2010 10:02 am
denzil3009 View latest post
No new posts File does not exist 8 missing 3486 Sun Oct 03, 2010 10:53 pm
SgtLegend View latest post
 




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