Alex M.

Cluj-Napoca, Romania

careers.stackoverflow.com/alexm

Age: 21

I'm a software developer currently writing code at Gameloft.

At home I work on a distributed AI system written in D and Prolog. I'm also interested in game design and game mechanics, and my favorite tool to try out what I come up with is GameMaker Studio.

When the time allows, I'm learning about cooking, with special interest in pastries. If I can also fit gaming in there, I most certainly do so.

I can usually be found in the C++ Lounge.

16m
comment Creating vector of primes using Sieve of Eratosthenes
"Do not pass integers as const references" why?
16h
comment Should we discourage leading +/-1 on comments?
-1 This is pointless.
2d
revised Why does std::aligned_union need a minimum size as a template parameter?
fixed typo
Nov
19
answered Transliterating Tatar To Cyrillic
Nov
17
comment Community Project Highlights 2014
Beautiful! Good luck with this.
Nov
17
awarded Nice Answer
Nov
13
comment Function to replace color in .bmp
Perhaps benchmarking was not the most appropriate term. Profiling would have probably been better?
Nov
13
comment Function to replace color in .bmp
I was suggesting that I/O is slow and since you're doing so many I/O operations I would have ran some benchmarks to see if I/O is the cause for poor performance. Then, I said that if I/O is the cause for poor performance in your code, there's nothing you can do since you said that you need to do the replacement directly. Rule for performance optimization: benchmark to find the cause for bad performance, and rework that. I don't think your question is against the rules here, just that I would have appreciated it if you first tried to find the cause for the poor performance yourself.
Nov
13
comment Function to replace color in .bmp
And have you actually ran some benchmarks to see if the I/O isn't your bottleneck? Because if it is, then you're not in luck.
Nov
13
comment Function to replace color in .bmp
Have you considered loading the whole file or at least chunks of it in memory, doing the replacement there and then saving the results, all in as few I/O operations as possible?
Nov
12
accepted Copying files to a Metro unit test app's private storage at launch
Nov
11
revised C# for loop to write line by line
added 4 characters in body
Nov
11
answered C# for loop to write line by line
Nov
11
awarded Critic
Nov
11
comment Remove "democratic, community-driven process" from the Area 51 FAQ
@RobertCartaino I believe my opinion on the matter is very relevant. You deleting the question causing all this doesn't make you look very good either. Are you sure you should be the one silencing us?
Nov
11
comment Remove "democratic, community-driven process" from the Area 51 FAQ
Also please don't remove my comment again, it's relevant to the matter at hand. Thank you.
Nov
11
awarded Supporter
Nov
7
answered TimeZone computing method
Nov
7
answered Copying files to a Metro unit test app's private storage at launch
Nov
7
revised How can I replace two strings in a way that one does not end up replacing the other?
Brought the example here.
1 2 3 4 5