Skip to main content
Charles's user avatar
Charles's user avatar
Charles's user avatar
Charles
Senior Consultant
  • Member for 14 years, 4 months
  • Last seen this week
  • Albany, NY, USA
35 votes
15 answers
19k views

Bit twiddling: which bit is set?

33 votes
7 answers
188k views

Declaring and using MySQL varchar variables

31 votes
7 answers
15k views

Integer overflow in C: standards and compilers

27 votes
16 answers
2k views

Optimize me! (C, performance) -- followup to bit-twiddling question

24 votes
4 answers
14k views

Lint-like program for Perl?

22 votes
9 answers
10k views

Integer cube root

20 votes
5 answers
15k views

Static local variables in Perl

15 votes
6 answers
13k views

Inline regex replacement in perl

14 votes
2 answers
24k views

Text compression in JavaScript

10 votes
4 answers
3k views

Testing for builtins/intrinsics

9 votes
4 answers
2k views

Extreme optimization of integer binary search

9 votes
4 answers
55k views

Chaining SQL queries

9 votes
6 answers
15k views

Image captions and wrapping

8 votes
2 answers
220 views

Avoiding repetition / loop unswitching

7 votes
3 answers
5k views

2D bin packing on a grid

7 votes
4 answers
17k views

Dereferencing Perl hashrefs

6 votes
4 answers
320 views

Getting all the leaves from an expression

6 votes
1 answer
285 views

Light regexp optimization

6 votes
1 answer
330 views

Nonlinear term with unknown in R

6 votes
2 answers
2k views

What is the purpose of gcc's -Wbad-function-cast?

6 votes
1 answer
68 views

Getting one-dimensional arrays from a two-dimensional array

5 votes
2 answers
4k views

Storing state in Go

5 votes
2 answers
4k views

Remove an attribute with XMLStarlet

5 votes
3 answers
692 views

Finding a uniq -c substitute for big files

5 votes
2 answers
339 views

Correct HTML for multi-paragraph quotes

5 votes
1 answer
213 views

Sorting a small array into a large sorted array

5 votes
4 answers
284 views

C 'generics' -- double and float

5 votes
3 answers
4k views

Pruning large graphs of stray nodes

5 votes
3 answers
1k views

Subsequence search

5 votes
7 answers
2k views

More bit-twiddling: Efficiently implementing a binary search over a fixed-size array

1
2 3 4 5