GodLikeMouse
  • Blog
  • Music
  • About Me

Programming Techniques

C/C++

Optimizing memcpy Routines

First let’s understand what the problem is. Memcpy copies memory one byte at a time. Which is fine as long as you don’t have a lot of memory to copy. If you find yourself needing to copy large chunks of memory from one spot to the next you may very Read more…

By GodLikeMouse, 17 yearsMarch 5, 2008 ago
Code

JavaScript Singleton Pattern

Singletons are quite effective when it comes to needing only a single instance of a class or object instanciated, regardless of when or who creates it. Let’s start by creating a basic class that we will later turn into a singleton: So, now we have a simple ValueObject class, which Read more…

By GodLikeMouse, 18 yearsMay 10, 2007 ago
  • Blog
  • Music
  • About Me
Hestia | Developed by ThemeIsle