Robin Szemeti wrote:
 
> now theres an understatement! .. wap looked almost good .. unti I
> discovered that most phones only cope with a 1300 byte packet .. about
> enough to write your name with.

1.5k innit? /shrug/ You're probably right actually.

Amazing what you can fit into it though, especially if you write your
own assembler and compiler and tweak the bytecode by hand :)


http://www.twoshortplanks.com/simon/wml/md5/md5.wmls.html 
and 
http://www.twoshortplanks.com/simon/wml/sha1/sha1.wmls.html

both compile down to less than the max size due to judicious of external
libraries and rolling and unrolling of loops.

And realising that 

 var a = 1+1;
 foo(a)

actually works out smaller than 

 foo (1+1)




-- 
simon wistow            wireless systems coder
    just another shin jin rui

Reply via email to