Notice: Trying to access array offset on value of type bool in /home/customer/www/ on line 2442
Archives | Flogvit

#javascript and parsing param string

Got a little challenge parsing strings like: Little brown="and yellow" fox=1 jumps over=lazy dog I wanted to split it into an array with key/value pairs, so the result would be: var res = [ [ 'Little', undefined ], [ 'brown', 'and yellow' ], [ 'fox', '1' ],...

@nodejs and object sort speed

I was coding a scheduler and needed a sorted array of the schedules, so I started to investigate the speed of different sorting variants I could use. I created a little program ( to test 4 different variants. For...
%d bloggers like this: