On the WordPress Optimization/Performance page it suggests hardcoding static variables rather than referencing them through WordPress functions. I think I get the rationale behind that. But what about doing...
  • May 20, 2022
  • 0 Comments
I’m trying to display a list of 5 authors randomly. Here are some solutions I had found: https://stackoverflow.com/questions/5502609/get-authors-randomly https://wordpress.stackexchange.com/a/91326/1044 I’m currently using the former solution except that I use...
  • May 20, 2022
  • 0 Comments
Is a switch statement actually faster than an if statement? I ran the code below on Visual Studio 2010’s x64 C++ compiler with the /Ox flag: #include <stdlib.h> #include...
  • May 20, 2022
  • 0 Comments
I have a web site, that while working properly, every day, at 11:00am using a huge amounts of the server resources. The web hosting account contains only the WordPress,...
  • May 20, 2022
  • 0 Comments