Lance's user avatar
Lance's user avatar
Lance's user avatar
Lance
  • Member for 5 years, 10 months
  • Last seen more than a week ago
10 votes
4 answers
2k views

Algorithm for dividing a number into largest "power of two" buckets?

5 votes
2 answers
645 views

How to optimize bitwise get/set/clear of ranges of bits on 8-bit integers in JavaScript?

5 votes
1 answer
194 views

How could this indentation-based lexer be simplified?

4 votes
2 answers
625 views

How to implement a 2D Cellular Automaton in JavaScript?

4 votes
1 answer
165 views

Convert ASCII representations of phonetics to Unicode characters

3 votes
0 answers
227 views

converting from byte arrays to strings of integers, and back

3 votes
2 answers
506 views

How to simplify and optimize bitwise get/set operations on a large bit buffer in JavaScript?

3 votes
2 answers
96 views

Insert into array in reverse while iterating forward

3 votes
0 answers
73 views

How to remove a lot of the duplication in this JavaScript AST transformer?

3 votes
0 answers
54 views

How to remove duplication in this array/tree generating function?

2 votes
1 answer
255 views

CSS gradient text that fades in and out

2 votes
1 answer
233 views

Algorithm to find bucket and item indices from power of two bins?

1 vote
0 answers
163 views

How to implement robust and secure session management (in general, and in Next.js)

1 vote
2 answers
1k views

How to implement a daily streak counter in JavaScript?

1 vote
0 answers
115 views

How to simplify Tarjan's algorithm implementation in JavaScript and make it non-recursive (i.e. iterative)?

1 vote
1 answer
40 views

How to optimize clz count leading zeroes manual implementation?

1 vote
0 answers
40 views

Iterating over de Bruijn sequences in JavaScript