mpartel

Age: 26

Feb
28
awarded Nice Answer
Feb
18
awarded Caucus
Feb
16
comment Does pointer arithmetic have uses outside of arrays?
@Karu: Oops, thanks, edited.
Feb
16
revised Does pointer arithmetic have uses outside of arrays?
`a + n` -> `*(a + n)`
Jan
27
awarded Popular Question
Jan
9
revised Static strategies or enums for small implementation changes in similar code?
elaborated on enum methods
Jan
9
answered Static strategies or enums for small implementation changes in similar code?
Jan
8
comment Efficient intersection of sets?
Certainly, they are very good implementations for the problems they do solve, but they don't directly solve all variations of every problem optimally. e.g. 'Useless' gave a very plausible improvement that exploited some reasonable assumptions that may well hold in the OP's case. (Of course all the usual warnings about premature optimization and benchmarking are still relevant.)
Jan
7
awarded Custodian
Jan
7
reviewed Approve suggested edit on Javascript to fix header and change logo size on joomla theme when scrolling
Jan
7
comment Efficient intersection of sets?
Isn't this the solution OP was trying to improve upon?
Jan
7
answered Efficient intersection of sets?
Jan
7
answered scala create equal/hashcode/tostring without case class
Jan
6
comment Simplest way to run ruby CGI app
Note that cgiup simply wraps WEBrick's CGI handler: github.com/ryanbriones/cgiup/blob/master/bin/cgiup so it's easy to customize.
Jan
3
comment Valgrind, it is possible to get the number of line?
It was added in valgrind 3.4.0.
Jan
3
comment Valgrind, it is possible to get the number of line?
Depends on your compiler/IDE. For GCC, you need to add the -g and -O0 options. IDEs often have some sort of checkbox somewhere.
Jan
3
answered Valgrind, it is possible to get the number of line?
Jan
3
answered how to run process within process?
Jan
3
comment how to run process within process?
Seems like a duplicate of stackoverflow.com/questions/3393397/…
Jan
3
answered What does Mockito.anyLong() do?
1 2 3 4 5